Re: PHP / GD and WebP
| From: | Pierre Joye | Date: | Sat, 22 Jun 2013 08:40:12 +0000 |
| Subject: | Re: PHP / GD and WebP | ||
| References: | 1 | Groups: | php.gd.devel |
| Request: | Send a blank email to php-gd-devel+get-727@lists.php.net to get a copy of this message | ||
Adding gd-devel
On Jun 22, 2013 9:32 AM, "Remi Collet" <Remi@famillecollet.com> wrote:
>
> Hi,
>
> Please review
> https://bitbucket.org/libgd/gd-libgd/commits/a08a17ddafd0
>
> The allocation step could probably be greater.
>
>
> Perhaps it could be interesting to also apply it for PHP 5.5.1, and
> switch, for WebP images to the same process than other formats.
>
> Well... in all case the image is read in memory, so should not give any
> performance change.
>
> Attached patch tested with imagecreatefromwebp using a local path and a
> remote URL.
Thanks! Looks good to me (with the 4k block constant).
BTW long run (GD 2.2 and php 5.6), we will move to libwepb.
Cheers,