Edit report at https://bugs.php.net/bug.php?id=65038&edit=1
ID: 65038
Updated by: cmb@php.net
Reported by: david at admin dot amateri dot cz
Summary: IMAGETYPE_WEBP constant missing
-Status: Re-Opened
+Status: Closed
Type: Feature/Change Request
Package: GetImageSize related
Operating System: CentOS 6
PHP Version: 5.5.0RC3
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
VP8L support implemented with <http://git.php.net/?p=php-src.git;a=commit;h=59cd8eb7>.
Previous Comments:
------------------------------------------------------------------------
[2016-10-08 07:32:50] cmb@php.net
> Does it mean that if I call getimagesize on a lossless webp it> won't return the needed info?
Indeed, getimagesize() would return FALSE in this case.
Actually, I thought that lossless WebP isn't very common and that
it wouldn't be supported by libgd, but at least the latter
assumption was wrong â imagecreatefromwebp() is able to read
lossless WebP (at least the simple format without alpha; haven't
yet checked further). So it makes sense to add support for simple
lossless WebP (VP8L) to getimagesize() and friends.
------------------------------------------------------------------------
[2016-10-08 04:56:07] enumag at gmail dot com
Why ignore lossless webp? Can you open a new issue about that with an explanation?
Also what exactly does it mean that only lossy webp is supported? Does it mean that if I call
getimagesize on a lossless webp it won't return the needed info?
------------------------------------------------------------------------
[2016-10-07 22:36:49] cmb@php.net
Documented with <http://svn.php.net/viewvc?view=revision&revision=340375>.
------------------------------------------------------------------------
[2016-10-07 22:33:21] cmb@php.net
Implemented with <http://git.php.net/?p=php-src.git;a=commit;h=14d4ee93>.
------------------------------------------------------------------------
[2016-09-28 07:44:58] sebreghts dot jelle at gmail dot com
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?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=65038
--
Edit this bug report at https://bugs.php.net/bug.php?id=65038&edit=1