"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 )    <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
  ``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/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to