From 8032326137bf6059ce789e179e0a7394dd7ded34 Mon Sep 17 00:00:00 2001 From: bouzuya Date: Wed, 27 Dec 2017 11:55:45 +0900 Subject: [PATCH] copyPixel() ignores the fourth argument --- resemble.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resemble.js b/resemble.js index c7889f0..a20ffb4 100644 --- a/resemble.js +++ b/resemble.js @@ -486,7 +486,7 @@ URL: https://github.com/Huddle/Resemble.js } if( isRGBSimilar(pixel1, pixel2) || !isWithinBoundingBox ){ - copyPixel(targetPix, offset, pixel1, pixel2); + copyPixel(targetPix, offset, pixel1); } else if( ignoreAntialiasing && ( addBrightnessInfo(pixel1), // jit pixel info augmentation looks a little weird, sorry.