th: fix .raw if not pil jxl

This commit is contained in:
ed committed 2026-10-14 21:55:12 +00:00
1 parent 9811cd3101
commit ed0fcd608f
1 file changed
+3 -1
+3 -1
View File
@@ -102,7 +102,9 @@ class ThumbCli(object):
):
sfmt = "j"
if sfmt == "x" and not self.can_jxl:
if sfmt == "x" and (
not self.can_jxl or (not H_PIL_JXL and ext in self.fmt_raw)
):
sfmt = "w"
vf_crop = dbv.flags["crop"]