From 84a1c1ddfe4ca43e919f95f11f40e58169f7727b Mon Sep 17 00:00:00 2001 From: Krzysztof Kotowicz Date: Wed, 25 Sep 2024 19:47:18 +0200 Subject: [PATCH] Use single channel gainmaps in SDR+HDR. --- contrib/ultrahdr.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/ultrahdr.lua b/contrib/ultrahdr.lua index 4d37a6c..a3b30e0 100644 --- a/contrib/ultrahdr.lua +++ b/contrib/ultrahdr.lua @@ -479,7 +479,7 @@ local function generate_ultrahdr(encoding_variant, images, settings, step, total update_job_progress() execute_cmd(settings.bin.ultrahdr_app .. " -m 0 -y " .. df.sanitize_filename(sdr .. ".raw") .. " -p " .. df.sanitize_filename(hdr .. ".raw") .. - string.format(" -a 0 -b 3 -c 1 -C 1 -t 2 -M 1 -s 1 -q %d -Q %d -D 1 ", settings.quality, + string.format(" -a 0 -b 3 -c 1 -C 1 -t 2 -M 0 -s 1 -q %d -Q %d -D 1 ", settings.quality, settings.quality) .. " -w " .. tostring(sdr_w - sdr_w % 2) .. " -h " .. tostring(sdr_h - sdr_h % 2) .. " -z " .. df.sanitize_filename(uhdr)) update_job_progress()