Skip to content

Commit 84a1c1d

Browse files
committed
Use single channel gainmaps in SDR+HDR.
1 parent 3791b47 commit 84a1c1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/ultrahdr.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ local function generate_ultrahdr(encoding_variant, images, settings, step, total
479479
update_job_progress()
480480
execute_cmd(settings.bin.ultrahdr_app .. " -m 0 -y " .. df.sanitize_filename(sdr .. ".raw") .. " -p " ..
481481
df.sanitize_filename(hdr .. ".raw") ..
482-
string.format(" -a 0 -b 3 -c 1 -C 1 -t 2 -M 1 -s 1 -q %d -Q %d -D 1 ", settings.quality,
482+
string.format(" -a 0 -b 3 -c 1 -C 1 -t 2 -M 0 -s 1 -q %d -Q %d -D 1 ", settings.quality,
483483
settings.quality) .. " -w " .. tostring(sdr_w - sdr_w % 2) .. " -h " .. tostring(sdr_h - sdr_h % 2) .. " -z " ..
484484
df.sanitize_filename(uhdr))
485485
update_job_progress()

0 commit comments

Comments
 (0)