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

From: Date: Wed, 08 Jul 2020 14:19:27 +0000
Subject: Bug->Doc #79809 [Opn->Ver]: imagecreatefromwebp() does not support animated WebP
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-17696@lists.php.net to get a copy of this message
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


Thread (5 messages)

« previous php.doc.bugs (#17696) next »