How can we get the properties (size, type, width, height) of an image using php image functions? ~ Interview Questions & Answers

Sunday, June 22, 2008

How can we get the properties (size, type, width, height) of an image using php image functions?

To know the image size use getimagesize() function
To know the image width use imagesx() function
To know the image height use imagesy() function

0 comments: