🖼 Image diff tool with LCS algorithm for Node.js
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
src
test init Dec 12, 2018
.gitignore init Dec 12, 2018
.prettierrc.js init Dec 12, 2018
Cargo.lock
Cargo.toml init Dec 12, 2018
Makefile fix: use release Dec 14, 2018
README.md
index.ts init Dec 12, 2018
package.json 0.1.1 Dec 14, 2018
tsconfig.json
tslint.json init Dec 12, 2018
yarn.lock init Dec 12, 2018

README.md

node-lcs-img-diff

Image diff tool with LCS algorithm. port of murooka/go-diff-image

CircleCI

Requirements

  • Node.js v8+

Installation

npm install lcs-img-diff

Usage

lcs-img-diff path/to/before.png path/to/after.png --dist dist --prefix marked

Example

before.png after.png

lcs-img-diff outputs marked before and after images too.

marked_before.png marked_after.png

LICENSE

The MIT License (MIT)

Copyright (c) 2018 @bokuweb

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.