magick-compare
v0.0.1
Published
Compare image using ImageMagick's Magick++
Downloads
3
Readme
magick-compare
Compare image using ImageMagick's Magick++
Installation
Install with npm:
$ npm install magick-compare
Example
Basic
var compare = require('compare')
, fs = require('fs')
;
fs.readFile('./foo.png', function(_, base) {
fs.readFile('./bar.png', function(_, compareWith) {
compare(base, compareWith, function(err, isSame, diff) {
console.log(isSame);
console.log(diff);
});
});
});