]>
git.scottworley.com Git - picsort/blob - pics-preprocess
d5400602b06f8ec5c2f8b579c3cdd733abd7336e
3 # Pass .NEF files as $@.
4 # This makes many variants of each one at different exposure levels.
12 for level
in {10.
.30};do
14 base
="$(basename "$f")"
15 out
="$level/${base%.NEF}.jpeg"
16 exposure
=$(dc <<< "2k $level 4 / 3.5-p") # 10 to 30 -> -1 to 4 in .25 steps
17 ufraw
-batch --out-type=jpeg \
19 --temperature="$TEMPERATURE" \
20 --compression="$JPEGCOMPRESSION" \
21 --exposure="$exposure" \