compare -metric rmse input.png output.png null:

will give you the rmse difference value to the terminal. you can set 
your own threshold for rmse value to decide if it is pass or fail or 
put the result in string variable and do further testing

str=`compare -metric rmse input.png output.png null: 2>&1`

see compare statistics at http://www.imagemagick.org/Usage/compare/#compare

_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to