image-diff-viewer
v1.5.1
Published
Reports how images have been changed
Downloads
3
Readme
image-diff-viewer
Reports how images have been changed.
Usage
CLI
$ npm install -g image-diff-viewer
$ image-diff-viewer left.png right.png -o index.html
$ image-diff-viewer -r dir1 dir2 -o index.html
$ image-diff-viewer -r dir1 dir2 --outdir=out
Import
$ npm install image-diff-viewer --save-dev
const viewer = require("image-diff-viewer");
viewer.run("left.png", "right.png", {
output: "index.html"
}).then(() => {
...
})
Options
$ image-diff-viewer --help
Status
Only PNG is supported.
License
MIT