diff --git a/README.md b/README.md index 6972c42..572ee95 100644 --- a/README.md +++ b/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());