Linux – Convert CR2 to JPG / PNG / etc.
To convert images taken from an Canon EOS 600D in CR2 format to the jpg format you need to install the ufraw package.
1 |
$> sudo apt-get install ufraw |
After that you can navigate to the folder that contains the cr2-files and run the following bash script:
1 |
$> for i in *.CR2; do ufraw-batch $i --out-type=jpeg --output $i.jpg; done; |
As bash alias:
1 |
alias convert_CR2_to_JPG='for i in *.CR2; do ufraw-batch $i --out-type=jpeg --output JPG/$i.jpg; done;' |