willsherwood
asked on
PHP: How to retrieve the pixel dimensions of a jpeg file on disk
PHP: JPEG pixel dimensions
In PHP, i have Jpeg files that i'm displaying and i need to know the pixel dimensions.
What built-in function call can i use to return the pixel H & W of the image.
(clarification: this is not file size)
I've looked thru imagemagick but cannot find anything that does this.
thanks
In PHP, i have Jpeg files that i'm displaying and i need to know the pixel dimensions.
What built-in function call can i use to return the pixel H & W of the image.
(clarification: this is not file size)
I've looked thru imagemagick but cannot find anything that does this.
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://www.php.net/getimagesize