/img-pcp

Get identical pixels between two image files as a third image

Primary LanguageTypeScriptMIT LicenseMIT

img-pcp

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.

oclif License

Usage

  • img-pcp file1.png file2.png output.png
    Copy matching pixels to output.png

  • img-pcp file1.png file2.png output.png -m sub
    Copy pixels of file1.png that do not match file2.png onto output.png