Does anyone know all the possible results for the 3rd value returned from PHP's getimagesize() function? Example this code below will return:
$imageinfo['2'] = 2;
for ajpg
image,$imageinfo['2'] = 3;
for apng
image,$imageinfo['2'] = 0;
for agif
image.
The numbers might not be correct above but you get the idea.
I can't find on php.net or anywhere else a list of all possible results for the 3rd value.
$imageinfo = getimagesize($imageurl);
$image_type = $imageinfo['2'];
Quoting the manual :
And you can find those constants onh this page, amongst the other defined by GD