docker-library / buildpack-deps

MIT License
445 stars 113 forks source link

Consider GraphicsMagick instead of ImageMagick? #43

Closed mgcrea closed 6 years ago

mgcrea commented 8 years ago

I've used graphicsmagick-imagemagick-compat instead of imagemagick in my images, as it seems to be the goto option these days. GraphicsMagick is a fork is concentrating on better performance and stability, see https://en.wikipedia.org/wiki/GraphicsMagick.

yosifkit commented 8 years ago

From graphicsmagick.org, so it is probably biased:

Here are some reasons to prefer GraphicsMagick over ImageMagick:

  • GM is more efficient so it gets the job done faster using fewer resources.
  • GM is much smaller and lighter (3-5X smaller installation footprint).
  • GM is used to process billions of files at the world's largest photo sites (e.g. Flickr and Etsy).
  • GM does not conflict with other installed software.
  • GM suffers from fewer security issues and exploits.
  • GM valgrind's 100% clean (memcheck and helgrind).
  • GM comes with a comprehensive manual page.
  • GM provides API and ABI stability and managed releases that you can count on.
  • GM provides detailed yet comprehensible ChangeLog and NEWS files.
  • GM is available for free, and may be used to support both open and proprietary applications.
  • GM is distributed under an X11-style license (MIT License), approved by the Open Source Initiative, recommended for use by the OSSCC, and compatible with the GNU GPL.
  • GM source code is managed in Mercurial, a distributed source control management tool which supports management of local changes.
  • GM has 0.00 (zero) defects per 1000 lines of code (293,341 total lines included) according to Coverity analysis on May 25, 2015.
  • GM developers contribute to other free projects for the public good.
tianon commented 8 years ago

Not sure how I feel about this one.

It seems a little odd IMO for our users if we're installing a package with "ImageMagick compatibility" when ImageMagick itself is still available and actively developed (last stable release was 7.0.1-6 on 21 May 2016 according to Wikipedia, but https://imagemagick.org/script/changelog.php shows 7.0.2-10 on 2016-08-27, which is even more recent).

Also, I think most of the images which are FROM this one (in the official images anyhow) have a slim variant which allows for users to "choose their own destiny" so to speak (by not pre-including either package), so it seems prudent to stick with the official ImageMagick distribution here.

tianon commented 6 years ago

Given the rationale above, I'm going to close. :+1: