image-diff-viewer

Reports how images have been changed


Keywords
image diff screenshot
License
MIT
Install
npm install image-diff-viewer@1.5.1

Documentation

image-diff-viewer

Build Status

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

Available Options

$ image-diff-viewer --help

Status

Only PNG is supported.

License

MIT