# diffimg > Generate an image where each pixel is the difference between corresponding pixels in the 2 source images. > More information: . - Compare two images and output the difference image to the specified file: `diffimg {{path/to/image1}} {{path/to/image2}} {{path/to/output_image}}`