This tool compares old and new versions of image files and generates color-coded image in a diff format.
This is based on the diff-image. Thanks to the wonderful @murooka's go-diff-image.
brew install kemokemo/tap/imgdiffFirst, add my scoop-bucket.
scoop bucket add kemokemo-bucket https://github.com/kemokemo/scoop-bucket.gitNext, install this app by running the following.
scoop install imgdiffGet the latest version from the release page, and download the archive file for your operating system/architecture. Unpack the archive, and put the binary somewhere in your $PATH.
$ imgdiff -h
Usage: imgdiff [<option>...] <old image> <new image>
-h display help
-o string
output filename (default "diff.png")
-v display versionThis tool supports the following image formats.
- png
- jpeg
- gif
- bmp
$ imgdiff -o=diff/screen.png v1/screen.png v2/screen.png