Bug #70046 [Ver]: WebP support broken
Edit report at https://bugs.php.net/bug.php?id=70046&edit=1
ID: 70046
Updated by: cmb@php.net
Reported by: cmb@php.net
Summary: WebP support broken
Status: Verified
Type: Bug
Package: GD related
Operating System: Windows
PHP Version: 7.0.0beta1
Block user comment: N
Private report: N
New Comment:
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,
<https://github.com/cmb69/php-src/tree/libwebp>
might be helpful
for a start.
Previous Comments:
------------------------------------------------------------------------
[2015-07-13 20:02:51] ab@php.net
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.
Thanks.
------------------------------------------------------------------------
[2015-07-11 14:47:03] cmb@php.net
Description:
------------
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
binaries.
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] <http://windows.php.net/downloads/php-sdk/>
Test script:
---------------
var_dump(extension_loaded('gd'));
var_dump(function_exists('imagewebp'));
Expected result:
----------------
bool(true)
bool(true)
Actual result:
--------------
bool(true)
bool(false)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70046&edit=1
Thread (4 messages)