Skip to content

Commit 749db97

Browse files
committed
Speed up export in HDR+SDR.
1 parent 84a1c1d commit 749db97

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contrib/ultrahdr.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,8 @@ local function generate_ultrahdr(encoding_variant, images, settings, step, total
442442
".jxl")
443443
ok = copy_or_export(images["hdr"], hdr, "jpegxl", DT_COLORSPACE_PQ_P3, {
444444
bpp = 10,
445-
quality = 100 -- lossless
445+
quality = 100, -- lossless
446+
effort = 1, -- we don't care about the size, the faile is temporary.
446447
})
447448
if not ok then
448449
os.remove(hdr)

0 commit comments

Comments
 (0)