Browse Source

Mark JPEG XL format as supporting quality. Fixes autoquality for JPEG XL

DarthSim 1 month ago
parent
commit
c2282d64e0
2 changed files with 2 additions and 0 deletions
  1. 1 0
      CHANGELOG.md
  2. 1 0
      imagetype/imagetype.go

+ 1 - 0
CHANGELOG.md

@@ -15,6 +15,7 @@
 
 ### Fixed
 - Fix `X-Origin-Content-Length` header value when SVG is sanitized or minified.
+- Mark JPEG XL format as supporting quality. Fixes autoquality for JPEG XL.
 
 ## [3.28.0] - 2025-03-31
 ### Added

+ 1 - 0
imagetype/imagetype.go

@@ -169,6 +169,7 @@ func (it Type) SupportsQuality() bool {
 		it == WEBP ||
 		it == HEIC ||
 		it == AVIF ||
+		it == JXL ||
 		it == TIFF
 }