]> git.scottworley.com Git - picsort/blob - pics-run-ufraw
8930864948f36922605c80cf1e211fe04bbd539d
[picsort] / pics-run-ufraw
1 #!/usr/bin/env bash
2
3 GREEN=1.105
4 TEMPERATURE=5500
5 JPEGCOMPRESSION=95
6
7 exposure=$1
8 file=$2
9 out=$3
10 rotate=$4
11
12 ufraw-batch --out-type=jpeg \
13 --green="$GREEN" \
14 --temperature="$TEMPERATURE" \
15 --compression="$JPEGCOMPRESSION" \
16 --exposure="$exposure" \
17 --output="$out" \
18 $( [[ "$rotate" ]] && echo --rotate="$rotate" ) \
19 "$file"