Re: PHP / GD and WebP
[email protected] (Pierre Joye) Sat, 22 Jun 2013 10:40:12 +0200
| Newsgroups | php.gd.devel |
|---|---|
| Message-ID | <CAEZPtU4cvMU76RnNysSGeUDYBNm3tZfVe65WjHC1BzpzkofmEA@mail.gmail.com> |
--047d7b342c90b170d004dfba203a Content-Type: text/plain; charset=ISO-8859-1 Adding gd-devel On Jun 22, 2013 9:32 AM, "Remi Collet" <[email protected]> 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, --047d7b342c90b170d004dfba203a--