mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Add support for BigTIFF output (#4459)
This commit is contained in:
@@ -401,6 +401,18 @@ describe('TIFF', function () {
|
||||
});
|
||||
});
|
||||
|
||||
it('TIFF bigtiff true value does not throw error', function () {
|
||||
assert.doesNotThrow(function () {
|
||||
sharp().tiff({ bigtiff: true });
|
||||
});
|
||||
});
|
||||
|
||||
it('Invalid TIFF bigtiff value throws error', function () {
|
||||
assert.throws(function () {
|
||||
sharp().tiff({ bigtiff: 'true' });
|
||||
});
|
||||
});
|
||||
|
||||
it('TIFF invalid predictor option throws', function () {
|
||||
assert.throws(function () {
|
||||
sharp().tiff({ predictor: 'a' });
|
||||
|
||||
Reference in New Issue
Block a user