php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #79809 imagecreatefromwebp() does not support animated WebP
Submitted: 2020-07-08 13:37 UTC Modified: 2020-07-08 14:19 UTC
Votes:10
Avg. Score:4.2 ± 1.0
Reproduced:10 of 10 (100.0%)
Same Version:6 (60.0%)
Same OS:2 (20.0%)
From: vincent dot enjalbert at gmail dot com Assigned:
Status: Closed Package: GD related
PHP Version: 7.4.7 OS: Ubuntu Xenial
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
6 + 34 = ?
Subscribe to this entry?

 
 [2020-07-08 13:37 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-07-08 14:19 UTC] cmb@php.net
-Summary: gd-webp cannot allocate temporary buffer +Summary: imagecreatefromwebp() does not support animated WebP -Status: Open +Status: Verified -Type: Bug +Type: Documentation Problem
 [2020-07-08 14:19 UTC] 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 16:13 UTC] vincent dot enjalbert at gmail dot com
Blocked on : https://github.com/libgd/libgd/issues/648
 [2021-12-06 16:53 UTC] git@php.net
Automatic comment on behalf of cmb69
Revision: https://github.com/php/doc-en/commit/d09a881a8e9059d11e756ee59d75bf404d6941ed
Log: Fix #79809: imagecreatefromwebp() does not support animated WebP
 [2021-12-06 16:53 UTC] git@php.net
-Status: Verified +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 00:01:28 2024 UTC