From f50176f95b185daa8f047292881601472af590e5 Mon Sep 17 00:00:00 2001 From: DarthSim Date: Wed, 20 Aug 2025 18:35:01 +0300 Subject: [PATCH] TIFF supports color profiles --- CHANGELOG.md | 1 + imagetype/imagetype.go | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 25ff8f12..b4100a2a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ - Fix the `If-Modified-Since` request header handling when the `raw` processing option is used. - Fix `X-Origin-Height` and `X-Result-Height` debug header values for animated images. - Fix keeping copyright info in EXIF. +- Fix preserving color profiles in TIFF images. - (pro) Fix generating thumbnails for VP9 videos with high bit depth. - (pro) Fix `IMGPROXY_CUSTOM_RESPONSE_HEADERS` and `IMGPROXY_RESPONSE_HEADERS_PASSTHROUGH` configs behavior when the `raw` processing option is used. diff --git a/imagetype/imagetype.go b/imagetype/imagetype.go index c03e962f..09bccd74 100644 --- a/imagetype/imagetype.go +++ b/imagetype/imagetype.go @@ -161,7 +161,8 @@ func (it Type) SupportsColourProfile() bool { it == PNG || it == WEBP || it == HEIC || - it == AVIF + it == AVIF || + it == TIFF } func (it Type) SupportsQuality() bool {