diffimg man page
diffimg — Calculates intersection between two images
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 <email@example.com>
This manual page was written by David Claughton <firstname.lastname@example.org>, for the Debian project (but may be used by others).