Is there a program that compares image files and reports if they are exactly the same pixel-wise?

Posted by Nathaniel Drake on Super User See other posts from Super User or by Nathaniel Drake
Published on 2012-04-12T18:09:33Z Indexed on 2012/04/14 17:32 UTC
Read the original article Hit count: 295

Filed under:
|
|

I'm making a regression testing suite for some rendering software. I need to be able to load an image file (PNG or TGA, ideally) and compare the pixel values to a standard approved image.

I'd like it to be command line driven too, so I can make a batch file to run all the tests.

All the compare utilities I have found so far either show differences (I just need it to fail if they are different) or compare all the bytes, meaning that meta-data will trigger a fail.

Anyone got any suggestions? I am not a coder, and can only barely cobble a batch script together.

Thanks for any suggestions.

© Super User or respective owner

Related posts about Windows

Related posts about images