mirror of
https://github.com/lovell/sharp.git
synced 2025-07-12 03:50:13 +02:00
Force TIFF predictor=none to match fixture in squash tests
This commit is contained in:
parent
a91686b4cd
commit
2abf9f96c7
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user