docs are wrong about `-algorithm` option of `gm compare` ?
Swiss army knife of image processing
Brought to you by:
bfriesen
The docs for "gm compare" ( http://www.graphicsmagick.org/compare.html ) include the following in the "Examples" section:
To create an annotated difference image use:
compare -algorithm annotate -highlight-color purple -file diff.miff original.miff compare.miff
However, trying to use this example results in:
gm compare: Unrecognized option (-algorithm).
The same problem is also mentioned on https://github.com/aheckmann/gm/issues/213
I'm using GraphicsMagick 1.3.12 2010-03-08 Q8 (because of Ubuntu),
which AFAICT is from long after that docs page was last edited
(on Fri Aug 08 16:14:41 2008 in changeset 12257:6bd9b1f37f80 ).
Sorry about that. The documentation was likely written while the utility command was still being developed and it fell out of sync with the code. The replacement for -algorithm is:
The documentation will be corrected with my next Mercurial commit (at which time I will close this bug).
Fix is committed now.