RAW Deal

Mohd Shakir has a written a simple bash script for converting RAW files from his Nikon D40X into jpegs. And not being one to reinvent the wheel, I modified it for the RAW files produced by John’s Canon EOS Rebel XTi.

mkdir jpeg
#Convert RAW files to low quality JPEGs
for i in `ls *.CR2`; do
ufraw-batch –out-type=jpeg –out-path=jpeg/ \
–compression=70 –size=800,600 –overwrite $i

Shakir’s pages contains a wee bit of discussion and some comments about using the script and the packages needed to process RAW files in ubuntu. ‘man ufraw-batch‘ gives more details on the workings of the ufraw-batch program.

In the meantime here is a photo taken at the Cliffs of Moher on Monday and converted today

2 Responses to “RAW Deal”

  1. John Browne Says:

    Don’t you mean “Johns Canon EOS Rebel XTi”?

    My trial of Photoshop expired yesterday so I’ve been using Gimp. I installed UFRaw last night (on windows) I need to spend some time figuring out how to use it properly for batch conversions and the like.

    I did try to install Ubuntu on my laptop but wasn’t successful the first time. When I rebooted into windows I had to reinstall some hardware drivers that weren’t working properly.
    Must try again before I fill up the HDD with Photos.

  2. mgb Says:

    I meant to say the Canon EOS Rebel Xti, but can use your version if you prefer

Leave a Reply