Thursday, June 2, 2016

Convert CR2 RAW image into JPG in Ubuntu

Just use this command:

for i in *.CR2; do dcraw -c -a -h $i | ppmtojpeg > `basename $i CR2`JPG; echo $i done; done