Edit report at https://bugs.php.net/bug.php?id=66590&edit=1
ID: 66590
User updated by: hbengali at chromium dot org
Reported by: hbengali at chromium dot org
Summary: libwebp version used in imagewebp is out of date
Status: Assigned
Type: Bug
Package: *Graphics related
Operating System: All
PHP Version: 5.5.8
Assigned To: pajoye
Block user comment: N
Private report: N
New Comment:
It was brought to my attention that I did not correctly describe the issue. Here is a more accurate
summary of what the problem is:
The code in php (libgd) uses libvpx and writes the riff manually actually. The code generates the
correct even size, but neglects the padding. It's possible older versions of libwebp would
decode this, but libwebp 0.4.0 does not.
Previous Comments:
------------------------------------------------------------------------
[2014-01-27 21:48:09] hbengali at chromium dot org
My bad - I did not mean for this to be a bug against the documentation. Thanks for redirecting it.
------------------------------------------------------------------------
[2014-01-27 21:45:12] bjori@php.net
Did you mean to file this as a bug report for the docs?
Seems like this is a problem with the extension rather then the docs?
------------------------------------------------------------------------
[2014-01-27 21:33:28] hbengali at chromium dot org
Description:
------------
---
From manual page: http://www.php.net/function.imagewebp
---
The latest version of libwebp (0.4.0) needs to be used here. Use of the older version causes
inconsistencies when rendering in browsers that use libwebp 0.4.0. For example: https://code.google.com/p/webp/issues/detail?id=185
libwebp 0.4.0 can be found here: https://code.google.com/p/webp/downloads/detail?name=libwebp-0.4.0.tar.gz&can=2&q=
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=66590&edit=1