Req #65038 [Com]: IMAGETYPE_WEBP constant missing
| From: | sebreghts dot jelle at gmail dot com | Date: | Wed, 28 Sep 2016 07:45:00 +0000 |
| Subject: | Req #65038 [Com]: IMAGETYPE_WEBP constant missing | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-204311@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=65038&edit=1
ID: 65038
Comment by: sebreghts dot jelle 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: GetImageSize related
Operating System: CentOS 6
PHP Version: 5.5.0RC3
Block user comment: N
Private report: N
New Comment:
This bug report is over 3 years old and webp is gaining traction (http://caniuse.com/#search=webp).
Is there any progress on this issue?
Previous Comments:
------------------------------------------------------------------------
[2016-08-03 03:47:55] kalle@php.net
Changing the category here to be "GetImageSize" as internally exif_imagetype() re-uses an
internal function we use for GetImageSize(), and exposes it to userland, despite not having anything
exif related code in it.
------------------------------------------------------------------------
[2016-06-10 08:13:20] archon810 at gmail dot com
I just spent an hour trying to figure out why webp isn't working in getimagesize only to
eventually arrive at this bug. Please add support for it.
------------------------------------------------------------------------
[2016-01-15 12:15:30] benjamin dot morel at gmail dot com
+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.
------------------------------------------------------------------------
[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