Browse Source

Merge pull request #129 from mohanaravind/patch-1

Update README.md
pull/123/merge
James Cryer 7 years ago committed by GitHub
parent
commit
6456d748ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      README.md

3
README.md

@ -142,6 +142,7 @@ compare(image1, image2, options, function (err, data) {
}
});
}
```
### Node.js
@ -191,7 +192,7 @@ const options = {
const data = await compareImages(
await fs.readFile('./demoassets/People.jpg'),
await fs.readFile('./demoassets/People2.jpg'),
options,
options
);
await fs.writeFile('./output.png', data.getBuffer());

Loading…
Cancel
Save