Doc #79809 [Ver->Csd]: imagecreatefromwebp() does not support animated WebP

[email protected] Mon, 06 Dec 2021 16:53:44 +0000
Newsgroups php.doc.bugs
Message-ID <[email protected]>
Edit report at https://bugs.php.net/bug.php?id=79809&edit=1

 ID:                 79809
 Updated by:         [email protected]
 Reported by:        vincent dot enjalbert at gmail dot com
 Summary:            imagecreatefromwebp() does not support animated WebP
-Status:             Verified
+Status:             Closed
 Type:               Documentation Problem
 Package:            GD related
 Operating System:   Ubuntu Xenial
 PHP Version:        7.4.7
 Block user comment: N
 Private report:     N

 New Comment:

Automatic comment on behalf of cmb69
Revision: https://github.com/php/doc-en/commit/d09a881a8e9059d11e756ee59d75bf404d6941ed
Log: Fix #79809: imagecreatefromwebp() does not support animated WebP


Previous Comments:
------------------------------------------------------------------------
[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] [email protected]

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