From 0e4b648593732df061733a0d152bb7e70fed753f Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Fri, 29 Aug 2025 23:29:24 +0100 Subject: [PATCH] Ensure unlimited flag is passed to tiffload #4446 --- docs/src/content/docs/changelog/v0.34.4.md | 3 +++ src/common.cc | 1 + 2 files changed, 4 insertions(+) diff --git a/docs/src/content/docs/changelog/v0.34.4.md b/docs/src/content/docs/changelog/v0.34.4.md index 54d9d0eb..c3aa1af7 100644 --- a/docs/src/content/docs/changelog/v0.34.4.md +++ b/docs/src/content/docs/changelog/v0.34.4.md @@ -12,3 +12,6 @@ slug: changelog/v0.34.4 * TypeScript: Ensure `KernelEnum` includes `linear`. [#4441](https://github.com/lovell/sharp/pull/4441) [@BayanBennett](https://github.com/BayanBennett) + +* Ensure `unlimited` flag is passed upstream when reading TIFF images. + [#4446](https://github.com/lovell/sharp/issues/4446) diff --git a/src/common.cc b/src/common.cc index 42e4a442..2688bd73 100644 --- a/src/common.cc +++ b/src/common.cc @@ -396,6 +396,7 @@ namespace sharp { imageType == ImageType::JPEG || imageType == ImageType::PNG || imageType == ImageType::SVG || + imageType == ImageType::TIFF || imageType == ImageType::HEIF; }