I have two images - one is a screenshot of my application; the other is a reference image. How can I compare the two of them to determine if they are the same?
I suspect you can find a command-line program that checks whether two images are identical. (It might be as simple as a byte-by-byte comparison of two files.) Some tools are more sophisticated; see for example this.
I tried using image comparison before with Telerik Test Studio. It did the job, but my app at the time changed so much that it was too much effort to update the test with a new image. I am sure there are other tools out there, but I would only go after it if your image will remain fairly static.