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

From: Date: Mon, 13 Jul 2015 20:02:52 +0000
Subject: Bug #70046 [Opn->Ver]: WebP support broken
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-194415@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: ab@php.net Reported by: cmb@php.net Summary: WebP support broken -Status: Open +Status: Verified Type: Bug Package: GD related Operating System: Windows PHP Version: 7.0.0beta1 Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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 (#194415) next »