]> git.scottworley.com Git - picsort/blob - pics-run-ufraw
pic-mv chmod's to 644
[picsort] / pics-run-ufraw
1 #!/bin/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"