From 749db97dd53fbf21b98042b759de7c61df006c7d Mon Sep 17 00:00:00 2001 From: Krzysztof Kotowicz Date: Wed, 25 Sep 2024 19:47:41 +0200 Subject: [PATCH] Speed up export in HDR+SDR. --- contrib/ultrahdr.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/ultrahdr.lua b/contrib/ultrahdr.lua index a3b30e0..508ef8d 100644 --- a/contrib/ultrahdr.lua +++ b/contrib/ultrahdr.lua @@ -442,7 +442,8 @@ local function generate_ultrahdr(encoding_variant, images, settings, step, total ".jxl") ok = copy_or_export(images["hdr"], hdr, "jpegxl", DT_COLORSPACE_PQ_P3, { bpp = 10, - quality = 100 -- lossless + quality = 100, -- lossless + effort = 1, -- we don't care about the size, the faile is temporary. }) if not ok then os.remove(hdr)