Takes two images as input and outputs a 3rd image that contains only the identical pixels from the two images (or the pixels that are different depending on the -m
flag). Not tested with two images that have different sizes.
-
img-pcp file1.png file2.png output.png
Copy matching pixels tooutput.png
-
img-pcp file1.png file2.png output.png -m sub
Copy pixels offile1.png
that do not matchfile2.png
ontooutput.png