Add support for BigTIFF output (#4459)

This commit is contained in:
throwbi
2025-09-30 10:41:02 +02:00
committed by GitHub
parent 54722dd582
commit 6b922b30d5
7 changed files with 26 additions and 0 deletions

View File

@@ -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' });