Page 1 of 1

Compare image onto itself fails

Posted: 2013-09-11T13:35:24-07:00
by francois@lubie.co
I did a simple test to compare images with themselves, and I get differences. Here is the command line I used:

Code: Select all

find ${TMPDIR} -type f \( -iname \*.gif -o -iname \*.png -o -iname \*.jpg -o -iname \*.jpeg \) -exec compare -metric AE {} {} null: \;
I get mostly results of 0, but sometimes

Version of compare: ImageMagick 6.5.4-7 2012-05-07 Q16 OpenMP
OS: Linux CentOS 6 Kernel 2.6.32-358.14.1.el6.x86_64

Am I doing something wrong or is compare broken? Just to let you know.

Re: Compare image onto itself fails

Posted: 2013-09-11T14:03:40-07:00
by fmw42
This message should be moved to the Users forum or the Bugs forum and not the Wizards Toolkit.

Your version of IM is very old. Can you provide a link to your images?

It works fine in IM 6.8.6.9 Q16 Mac OSX

compare -metric AE rose: rose: null:
0

Try the above command in the command line and let us know what you get?