Jump to content
xisto Community
Sign in to follow this  
iGuest

calculate image resolution Php Resolution Detection?

Recommended Posts

calculate image resolutionPhp Resolution Detection?

Hi ,I am use this script, but I have one problem when I am upload the image can I calculate the resolution of that image because I have a condition if resolution is less than 72 dpi image is reject to crop else if it is greater than 72 dpi image will go to crop.Here is a problem to how to calculate directly resolution of image. I am use formula for resolution is pixels/inches. But is failed to some cases.Please suggest me to how to get resolution of image if you have input as image size only .

-Santy

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.