Doc #79809 [Com]: imagecreatefromwebp() does not support animated WebP

From: Date: Wed, 08 Jul 2020 16:13:35 +0000
Subject: Doc #79809 [Com]: imagecreatefromwebp() does not support animated WebP
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-17697@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
 Comment by:         vincent dot enjalbert at gmail 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:

Blocked on : https://github.com/libgd/libgd/issues/648


Previous Comments:
------------------------------------------------------------------------
[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)

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