diffimg image1 image2 [outimage]
diffimg generates an image where each pixel is the difference between the corresponding pixel in each of the two source images. Thus, if the source images are the same the resulting image will be black, otherwise it will have regions of non-black where the images differ.
Currently supports: .png, .gif, .jpg, and .ps by using ghostscript
diffimg was written by John Ellson <firstname.lastname@example.org>
This manual page was written by David Claughton <email@example.com>, for the Debian project (but may be used by others).