mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Add support for miniswhite when using TIFF output
This commit is contained in:
committed by
Lovell Fuller
parent
0f24f0f214
commit
28aa176957
@@ -462,6 +462,18 @@ describe('TIFF', function () {
|
||||
});
|
||||
});
|
||||
|
||||
it('TIFF miniswhite true value does not throw error', function () {
|
||||
assert.doesNotThrow(function () {
|
||||
sharp().tiff({ miniswhite: true });
|
||||
});
|
||||
});
|
||||
|
||||
it('Invalid TIFF miniswhite value throws error', function () {
|
||||
assert.throws(function () {
|
||||
sharp().tiff({ miniswhite: 'true' });
|
||||
});
|
||||
});
|
||||
|
||||
it('Invalid TIFF tile value throws error', function () {
|
||||
assert.throws(function () {
|
||||
sharp().tiff({ tile: 'true' });
|
||||
|
||||
Reference in New Issue
Block a user