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:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: vincent dot enjalbert at gmail dot com Assigned:
Status: Verified Package: GD related
PHP Version: 7.4.7 OS: Ubuntu Xenial
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: vincent dot enjalbert at gmail dot com
New email:
PHP Version: OS:

 

 [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
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Oct 26 02:01:23 2020 UTC