- Package:
- graphicsmagick-imagemagick-compat
- Source:
- graphicsmagick
- Submitter:
- Mattia Rizzolo
- Date:
- 2026-03-07 12:19:01 UTC
- Severity:
- normal
- Tags:
Dear maintainer, this package has a Provides:imagemagick, but it doesn't ship a /usr/bin/compare like imagemagick does; therefore, it's not a full alternative to it. I'm adding a Build-Conflicts:graphicsmagick-imagemagick-compat to diffoscope to prevent resolvers from picking up this package, as it would cause tests to be skipped.
GraphicsMagick does provide a 'compare' command which offers some operation modes similar to ImageMagick's compare (-colorspace, -debug, -define, -density, -depth, -highlight-color, -interlace, -limit, -metric, -monitor, -sampling-factor, -size, -type, -verbose) although it was never designed to be an exact replacement and is not derived from the ImageMagick version since it was implemented after the fork based on my own imagination. From looking at the GraphicsMagick Makefile, it appears that does install a 'compare' command so the lack of 'compare' must be an artifact of Debian packaging. If the Debian packaging was updated to include 'compare' would this satisfy your expectations? That said, installing commands with generic names like 'convert' and 'compare' has always seemed problematic to me since it could conflict with other software. Bob
Ok, I know nothing about that... Not sure, I'd probably have to check if for my own use case the output is the same. Most likely it would be. I kinda agree, yes. However at this point in time way too much stuff started to rely on imagemagick tools being called like that, imho.
On Tue, Oct 9, 2018 at 4:00 PM Bob Friesenhahn <bfriesen@simple.dallas.tx.us> wrote: Just checked, it seems it never contained the 'compare' command - not in Wheezy, Jessie nor in Stretch at least. Actually it should be an alias, right? Checked magick/command.c and its command_names[] but without luck. Couldn't find the mentioned Makefile - only magick/compare.c exists with methods for GraphicsMagick itself. Bob, may you check your GraphicsMagick install? Does it really install a 'compare' binary? Just for the record, the 'stream' binary also seems to be missing in GM. Thanks, Laszlo/GCS
A quick check reveals that a 'compare' command is installed yet I think that it will not actually work due to "compare" not being listed in command_names[]. This feels like a bug to me. The question remains as to if GraphicsMagick's compare is similar enough to satisfy common usages. Yes, and there is no plan to implement such a thing. Bob
On Tue, Oct 9, 2018 at 7:57 PM Bob Friesenhahn <bfriesen@simple.dallas.tx.us> wrote: [...] This alone can be the reason it's not installed. Can't check it now, I'm not near my Linux box ATM. Will try to test some cases when I'm at home. Regards, Laszlo/GCS
Hi, This package is no longer build by src:graphicsmagick so let's close this bug. Paul