Re: [PHP-DEV] GD vs Imagick

This is only part of a thread. view whole thread
August 23, 2017 14:13 ("Christoph M. Becker")
On 23.08.2017 at 14:42, Rasmus Schultz wrote:

> The libvips module does in deed look interesting. I suppose this would have > all the same problems though? Lots of dependencies. > > So GD wins perhaps mostly because it's small and has fewer dependencies.
I'm not sure about that. If GD is to be built with the full feature set, it needs libgpng, libjpeg, libwebp, libxpm, libtiff, libfreetype and libfontconfig. Basically, only the GIF and BMP stuff are implemented by libgd itself.
> Ideally, I think that GD should be fixed, since it's the default (by which > I mean, it's the only option on a standard PHP install) so that libraries > like Intervention Image can deliver predictable results.
I don't think that anybody disagrees with this, but it's simply a matter of man power. Also note, that storing the color profiles when reading an image would cause an ABI break, so that can't happen in 2.2.x, but would have to wait for 2.3, which might be far away. -- Christoph M. Becker