Compare image onto itself fails
Posted: 2013-09-11T13:35:24-07:00
I did a simple test to compare images with themselves, and I get differences. Here is the command line I used:
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.
Code: Select all
find ${TMPDIR} -type f \( -iname \*.gif -o -iname \*.png -o -iname \*.jpg -o -iname \*.jpeg \) -exec compare -metric AE {} {} null: \;
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.