]> git.scottworley.com Git - picsort/blame_incremental - pics-run-ufraw
Return status from keystroke handlers
[picsort] / pics-run-ufraw
... / ...
CommitLineData
1#!/usr/bin/env bash
2
3GREEN=1.105
4TEMPERATURE=5500
5JPEGCOMPRESSION=95
6
7exposure=$1
8file=$2
9out=$3
10rotate=$4
11
12ufraw-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"