#!/bin/bash

# for i in *.RWL; do dcraw -c -q 3 -w -H 5 -b 8 $i | cjpeg -quality 100 > $i.jpg; done
# for i in *.RWL; do dcraw -c -q 3 -a -H 5 -b 5 $i | cjpeg -quality 100 > $i.jpg; done
# jazz station spot LED
# for i in *.RWL; do dcraw -c -q 3 -n 800 -r 1.778320 1 2.772461 1 -H 5 -b 8 -S 8000 -g 2.4 # 12.9 $i | cjpeg -quality 100 > $i.jpg; done
# for i in *.RWL; do dcraw -c -q 3 -r 0.646707 0.383234 1 0.383234 -H 5 -b 8 -S 8000 -g 2.4 12.9
# $i | cjpeg -quality 100 > $i.jpg; done

# spot 25/01/2017

for i in *.RWL; do dcraw -c -q 3 -n 800 -r 1 1.131987 3.285625 1.114599 -H 5 -b 8 -S 8000 -g 2.4 12.9 $i | cjpeg -quality 100 > $i.jpg; done



#riches-claires
# w
# for i in *.RWL; do dcraw -c -q 3 -r 2.296875 1 1.937500 1 -H 5 -b 8 -S 8000 -g # #  2.4  12.9 $i | cjpeg -quality 100 > $i.jpg; done

# a
 for i in *.RWL; do dcraw -c -q 3 -r 1.354602 1.013341 1.144138 1 -H 5 -b 8 -S 8000 -g 2.4 12.9 $i | cjpeg -quality 100 > $i.jpg; done