|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70046 WebP support broken
Submitted: 2015-07-11 14:47 UTC Modified: 2015-07-23 14:15 UTC
From: Assigned: ab (profile)
Status: Closed Package: GD related
PHP Version: 7.0.0beta1 OS: Windows
Private report: No CVE-ID: None
 [2015-07-11 14:47 UTC]
WebP support is currently broken on Windows for PHP 7. The
available deps[1] ship libwebp (instead of libvpx which is shipped
for PHP 5), but it seems the bundled GD library is not yet ready
for libwebp. At least I have not been able to find respective
config options (neither on Windows nor Linux).

The main problem is that this affects the delivered Windows

The supplied test script should rather use gd_info(), but it seems
that the 'WebP Support' key is missing, even if WebP support is
available. I'll investage on this issue.

[1] <>

Test script:

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-07-13 20:02 UTC]
-Status: Open +Status: Verified
 [2015-07-13 20:02 UTC]
Yeah, it should now rely on the libwebp. In php5 it relies on libvpx. The corresponding parts supporting libwebp need to be ported from the mainstream.

 [2015-07-13 23:17 UTC]
Well, if only libwebp is supposed to be supported by PHP 7, we'd
better offer a working solution pretty soon. Even though a full
port is likely over my head,
<> might be helpful
for a start.
 [2015-07-23 14:15 UTC]
-Status: Verified +Status: Closed -Assigned To: +Assigned To: ab
 [2015-07-23 14:15 UTC]
The fix for this bug has been committed.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Jun 10 19:03:38 2023 UTC