Search found 1 match

by notpeter
2016-07-28T15:23:33-07:00
Forum: Bugs
Topic: compare -metric PSNR, return code always 1
Replies: 1
Views: 2236

compare -metric PSNR, return code always 1

With 6.8.6-10 (I think) 'compare' now provides a return code. From the man page: The compare program returns 2 on error otherwise 0 if the images are similar or 1 if they are dissimilar. Running with '-metric PSNR', even if images are identical (same file) 'inf' is correctly printed to stderr but ...