From ed0fcd608fb9cfa8d368c709b807310d397fa608 Mon Sep 17 00:00:00 2001 From: ed Date: Wed, 14 Oct 2026 21:55:12 +0000 Subject: [PATCH] th: fix .raw if not pil jxl --- copyparty/th_cli.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/copyparty/th_cli.py b/copyparty/th_cli.py index 2eee39426..7387092b0 100644 --- a/copyparty/th_cli.py +++ b/copyparty/th_cli.py @@ -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"]