Force TIFF predictor=none to match fixture in squash tests

This commit is contained in:
Lovell Fuller 2017-11-27 19:55:20 +00:00
parent a91686b4cd
commit 2abf9f96c7

View File

@ -924,7 +924,8 @@ describe('Input/output', function () {
.toColourspace('b-w') // can only squash 1 band uchar images .toColourspace('b-w') // can only squash 1 band uchar images
.tiff({ .tiff({
squash: false, squash: false,
compression: 'none' compression: 'none',
predictor: 'none'
}) })
.toFile(fixtures.outputTiff, (err, info) => { .toFile(fixtures.outputTiff, (err, info) => {
if (err) throw err; if (err) throw err;
@ -940,7 +941,8 @@ describe('Input/output', function () {
.toColourspace('b-w') // can only squash 1 band uchar images .toColourspace('b-w') // can only squash 1 band uchar images
.tiff({ .tiff({
squash: true, squash: true,
compression: 'none' compression: 'none',
predictor: 'none'
}) })
.toFile(fixtures.outputTiff, (err, info) => { .toFile(fixtures.outputTiff, (err, info) => {
if (err) throw err; if (err) throw err;