We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5be05ae commit 336c346Copy full SHA for 336c346
index.js
@@ -1,5 +1,5 @@
1
2
-export default function pixelmatch(img1, img2, output, width, height, options) {
+export default function pixelmatch(img1, img2, output, width, height, options = {}) {
3
const {
4
threshold = 0.1, // matching threshold (0 to 1); smaller is more sensitive
5
includeAA = false, // whether to skip anti-aliasing detection
0 commit comments