Description of problem: In rawhide the ImageMagick compare command line tool exits with a non-zero exit code (specifically an exit code of one) even when everything worked fine. Version-Release number of selected component (if applicable): ImageMagick-6.8.6.3-1.fc20.x86_64 How reproducible: Every time. Steps to Reproduce: rawhide [~] % compare image.jpg image.jpg /tmp/diff.jpg rawhide [~] % echo $? 1 Actual results: 1 Expected results: 0 Additional info: This works fine in F19 with ImageMagick 6.7.8.9.
Thank you for the bugreport and willing make free software better. Problem reported upstream: http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=23722
Got upstream answer: A perfect match for -metric ncc is 1 and not zero. If the user wants that default, then just add -metric ncc until the issue is resolved see http://www.imagemagick.org/Usage/compare/#statistics