Doc #79809 [Com]: imagecreatefromwebp() does not support animated WebP
Edit report at https://bugs.php.net/bug.php?id=79809&edit=1
ID: 79809
Comment by: webok74417 at mxcdd dot com
Reported by: vincent dot enjalbert at gmail dot com
Summary: imagecreatefromwebp() does not support animated WebP
Status: Verified
Type: Documentation Problem
Package: GD related
Operating System: Ubuntu Xenial
PHP Version: 7.4.7
Block user comment: N
Private report: N
New Comment:
Yes this is a bug. Tried uploading animated webp and get this
Symfony\Component\ErrorHandler\Error\FatalError gd-webp cannot allocate temporary buffer
seems like its been like this since Dec 2019 atleast.
For encryption https://freecrypt.org/
Previous Comments:
------------------------------------------------------------------------
[2021-04-08 08:55:09] royaragon5946 at gmail dot com
Thanks for sharing such an amazing Blog.https://www.mycfavisit.website/
------------------------------------------------------------------------
[2020-07-08 16:13:35] vincent dot enjalbert at gmail dot com
Blocked on : https://github.com/libgd/libgd/issues/648
------------------------------------------------------------------------
[2020-07-08 14:19:27] cmb@php.net
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>
------------------------------------------------------------------------
[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
Thread (5 messages)