Bug #70046 [Ver->Csd]: WebP support broken

From: Date: Thu, 23 Jul 2015 14:15:51 +0000
Subject: Bug #70046 [Ver->Csd]: WebP support broken
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-194652@lists.php.net to get a copy of this message
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 +Status: Closed Type: Bug Package: GD related Operating System: Windows PHP Version: 7.0.0beta1 -Assigned To: +Assigned To: ab Block user comment: N Private report: N New Comment: The fix for this bug has been committed. Previous Comments: ------------------------------------------------------------------------ [2015-07-13 23:17:39] cmb@php.net 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. ------------------------------------------------------------------------ [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

« previous php.bugs (#194652) next »