From 2abf9f96c7c6d91968761f32ca78614c5aaab2f6 Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Mon, 27 Nov 2017 19:55:20 +0000 Subject: [PATCH] Force TIFF predictor=none to match fixture in squash tests --- test/unit/io.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/unit/io.js b/test/unit/io.js index 5c39ede9..8c4c4d02 100644 --- a/test/unit/io.js +++ b/test/unit/io.js @@ -924,7 +924,8 @@ describe('Input/output', function () { .toColourspace('b-w') // can only squash 1 band uchar images .tiff({ squash: false, - compression: 'none' + compression: 'none', + predictor: 'none' }) .toFile(fixtures.outputTiff, (err, info) => { if (err) throw err; @@ -940,7 +941,8 @@ describe('Input/output', function () { .toColourspace('b-w') // can only squash 1 band uchar images .tiff({ squash: true, - compression: 'none' + compression: 'none', + predictor: 'none' }) .toFile(fixtures.outputTiff, (err, info) => { if (err) throw err;