Edit report at https://bugs.php.net/bug.php?id=79809&edit=1
ID: 79809
Updated by: cmb@php.net
Reported by: vincent dot enjalbert at gmail dot com
-Summary: gd-webp cannot allocate temporary buffer
+Summary: imagecreatefromwebp() does not support animated WebP
-Status: Open
+Status: Verified
-Type: Bug
+Type: Documentation Problem
Package: GD related
Operating System: Ubuntu Xenial
PHP Version: 7.4.7
Block user comment: N
Private report: N
New Comment:
Indeed, animated WebP (I think extended WebP in general) is not
(yet) supported. You would need to demux the stream first. This
has to be documented.
Besides the missing documentation, this is a libgd issue, so
please report upstream[1] (unless there is already a respective
issue). Thanks.
[1] <https://github.com/libgd/libgd/issues>
Previous Comments:
------------------------------------------------------------------------
[2020-07-08 13:37:06] vincent dot enjalbert at gmail dot com
Description:
------------
The error "gd-webp cannot allocate temporary buffer " seems to occurs when using
"imagecreatefromwebp" on an *animated* webp image.
For example this one : https://media1.giphy.com/media/Lm5hxmmI6ucOQGfjKj/200w.webp
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79809&edit=1