diff --git a/test/fixtures/index.js b/test/fixtures/index.js index 1fdd6338..d8a5fa3e 100644 --- a/test/fixtures/index.js +++ b/test/fixtures/index.js @@ -13,6 +13,7 @@ const getPath = function (filename) { // Based on the dHash gradient method - see http://www.hackerfactor.com/blog/index.php?/archives/529-Kind-of-Like-That.html const fingerprint = function (image, callback) { sharp(image) + .flatten('gray') .greyscale() .normalise() .resize(9, 8, { fit: sharp.fit.fill })