Edit report at https://bugs.php.net/bug.php?id=65038&edit=1
ID: 65038
Comment by: benjamin dot morel at gmail dot com
Reported by: david at admin dot amateri dot cz
Summary: IMAGETYPE_WEBP constant missing
Status: Open
Type: Feature/Change Request
Package: EXIF related
Operating System: CentOS 6
PHP Version: 5.5.0RC3
Block user comment: N
Private report: N
New Comment:
+1 for WEBP support in getimagesize(), please!
WEBP is becoming increasingly popular, and getimagesize() is so handy to get image information
without having to load the whole file using Imagick, for example.
Previous Comments:
------------------------------------------------------------------------
[2015-08-03 14:43:13] enumag at gmail dot com
Also webp should be supported by getimagesize, getimagesizefromstring, image_type_to_extension and
image_type_to_mime_type.
------------------------------------------------------------------------
[2013-06-14 10:20:03] david at admin dot amateri dot cz
Description:
------------
There is no IMAGETYPE_WEBP constant returning from exif_imagetype, but there is webp support since
v5.5. You should add it. Thank you.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=65038&edit=1