浏览代码

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

DarthSim 2 月之前
父节点
当前提交
c2282d64e0
共有 2 个文件被更改,包括 2 次插入0 次删除
  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
 }