[magick-users] Help on "Compare"
Anthony Thyssen
anthony at griffith.edu.au
Wed Aug 6 22:57:40 PDT 2008
"Pahup Bilala" on wrote...
| Using ImageMagick on linux.
| When I give following command -
|
| compare image1.jpg image2.jpg diff.jpg
|
| Now without openining the diff.jpg, how do I check if the difference was
| reported or not ?
| Is there any flag or any option in commad that would help me.
|
Add a -metric AE
whcih counts the number of pixels that are differnet.
WARNING almost ALL pixels will be different by using jpeg!
That image format is lossy!!!
For example...
compare -metric AE image1 image2 null: 2>&1
See IM Examples, Comparing Images, Comparison Statistics
http://www.imagemagick.org/Usage/compare/#statistics
This includes a rough table of what each of the metrics mean.
If fact read that section and anything above it as a starting point.
Anthony Thyssen ( System Programmer ) <A.Thyssen at griffith.edu.au>
-----------------------------------------------------------------------------
``The contents of book `as yet unwritten' can be deduced from books
now in existance'' -- General Theory of L-Space (Library-Space)
-- Terry Pratchett ``Loards and Ladies''
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
More information about the Magick-users
mailing list