base="$(basename "$f")"
out="$level/${base%.NEF}.jpeg"
exposure=$(dc <<< "2k $level 4 / 3.5-p") # 10 to 30 -> -1 to 4 in .25 steps
base="$(basename "$f")"
out="$level/${base%.NEF}.jpeg"
exposure=$(dc <<< "2k $level 4 / 3.5-p") # 10 to 30 -> -1 to 4 in .25 steps