WebP support?
I see that the GD library in PHP has WebP support. What about the standalone GD here?
And libwebp-0.1.2 was released in Apr 1, 2011, will WebP support depends on it?
Comments (9)
-
-
Btw, it could be fairly easy to merge php's patch into the libgd's tree, if one likes to do it :)
-
Account Deleted Isn't GD in PHP use libvpx? I checked out from http://svn.php.net/repository/php/php-src/trunk/ext/gd/libgd and libvpx is floating anywhere in webping.c.
I'd love to see if GD uses libwebp.
-
It uses libwebp, google's reference implementation for webp. Which is a subset of what libvpx does. Earlier webp support (the 1st I implemented) was using specific code and libvpx for the compression.
-
Account Deleted Then where is the latest version of php-gd?
In svn.php.net / hg.php.net, I can find the earlier (using libvpx) implementation only.
The libwebp implementation should use webp/decode.h and webp/encode.h, but nowhere I can find it.
-
My bad, only my local repo uses libwebp, trunk (and 5.4) uses libvpx, statically linked.
-
Account Deleted What about pushing it to here or to php.net? I can't wait having GD with libwebp linked!
-
Since this issue hasn't had a follow-up for quite some time: Could you please push your changes somewhere and update this issue?
-
- changed status to resolved
webp is commited, both here and in php's gd.
- Log in to comment
Yes, php's gd in trunk and 5.4 already uses this library. It was developed using the development tree of libwebp and patches have been sent to google as well (windows support and other similar things).