php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #77825 webp support for imagecreatefromstring
Submitted: 2019-03-29 19:55 UTC Modified: 2019-03-29 20:59 UTC
From: sbappz93 at gmail dot com Assigned:
Status: Not a bug Package: GD related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sbappz93 at gmail dot com
New email:
PHP Version: OS:

 

 [2019-03-29 19:55 UTC] sbappz93 at gmail dot com
Description:
------------
I have a *.webp image and want to convert it into a string using imagecreatefromstring. But this is not supported yet as I get the following error message: Data is not in a recognized format.

It would be awesome if the PHP team can add support for *.webp images to the function imagecreatefromstring.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-03-29 20:59 UTC] requinix@php.net
-Status: Open +Status: Not a bug
 [2019-03-29 20:59 UTC] requinix@php.net
imagecreatefromstring supports WEBP as of PHP 7.3.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 21:01:27 2025 UTC