How can we get the properties (size, type, width, height) of
an image using PHP image functions?
Answer Posted / ansar
exif_imagetype()- for getting type of the image
getimagesize() - for getting size of the image
imagesx - for width
imagesy - for height
| Is This Answer Correct ? | 32 Yes | 6 No |
Post New Answer View All Answers
How to convert strings to numbers in php?
What is php full form?
What is a lambda function in php?
Why framework is used in php?
Explain some of the php array functions?
What is $$ in php?
What is the default time in seconds for which session data is considered valid?
What is the output of the ucwords function in this example?
Tell me how can we check the value of a given variable is alphanumeric?
How to find the position of the first occurrence of a substring in a string?
Explain the difference between $message and $$message?
Explain what does the unset() function means?
Which function would you use to insert a record into a database in php?
How do I run a php script in windows?
Is laravel frontend or backend?