Converting RAW to Jpeg in Linux

Dcraw is an amazing open source app that decodes many RAW formats to a more usable format for computer manipulation. It’s used by many commercial programs including Google’s Picassa!
It outputs pnm files, but with a little command line magic it can be used to convert a directory of RAW files to Jpeg.
Canon cameras produce RAW files with the extension “.cr2” so:

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

This produces low quality jpeg images alongside your RAW images which makes it useful when browsing the directory with a file manager that doesn’t understand RAW.
You could have the camera produce the low quality jpeg images but why sacrifice the space on your media card?
It goes without saying that this will work on any UNIX platform that Dcraw supports!

Little Feeding Bird

This morning as I made my breakfast Ray D’Arcy on Today FM announced that they were looking for photographers for their “Odd One Out” quiz. I rushed for the phone and as I was about to dial, looked out the window and saw this little bird feeding.
Should I ring, or should I take a picture? I decided on the latter, rushed upstairs for my camera and 75-300 zoom and snapped off 40 shots through the kitchen window!
Sorry Ray! Jacinta and I have been watching this little bird for the past few weeks and I was dyign to get a good shot of him! Besides the local crows, he’s the only bird who’s figured out that there are peanuts in the feeder. Hopefully the robins will notice the source of food as the weather gets colder.