mirror of
https://github.com/9001/copyparty.git
synced 2026-11-10 12:28:23 +00:00
th: fix .raw if not pil jxl
This commit is contained in:
1 parent
9811cd3101
commit
ed0fcd608f
1 file changed
+3
-1
+3
-1
@@ -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"]
|
||||
|
||||
Reference in new issue
Block a user