Skip to content

Commit 0e4b648

Browse files
committed
Ensure unlimited flag is passed to tiffload #4446
1 parent 40be212 commit 0e4b648

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docs/src/content/docs/changelog/v0.34.4.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ slug: changelog/v0.34.4
1212
* TypeScript: Ensure `KernelEnum` includes `linear`.
1313
[#4441](https://github.com/lovell/sharp/pull/4441)
1414
[@BayanBennett](https://github.com/BayanBennett)
15+
16+
* Ensure `unlimited` flag is passed upstream when reading TIFF images.
17+
[#4446](https://github.com/lovell/sharp/issues/4446)

src/common.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,7 @@ namespace sharp {
396396
imageType == ImageType::JPEG ||
397397
imageType == ImageType::PNG ||
398398
imageType == ImageType::SVG ||
399+
imageType == ImageType::TIFF ||
399400
imageType == ImageType::HEIF;
400401
}
401402

0 commit comments

Comments
 (0)