Deutsch
English

Converting RAW data into JPEG files

After our first session in the photo studio, we took home a DVD full of images - saved as RAW data.

Here's how to convert them from *.cr2 files to *.jpg.

#!/bin/bash

(while [ $# -gt 0 ]; do
dcraw -c -w $1 | ppmtojpeg > `basename $1 CR2`jpg
echo $1
shift
done) | zenity --progress --pulsate --text "Converting RAW files to Jpeg"

I found this script in a thread in the Ubuntu Forums. And there was another hint from a blog post that helped me to get this script to run: The package "netbpm" has to be installed first.

If you save the script from above in ~/.gnome2/nautilus-scripts/, you can just select the files in Nautilus and select your "convert to JPEG" script from the dropdown.

So far everything's fine: The conversion works without errors and result in a set of *.jpg files. But the quality is poor! The color balance is awful. I ended up manually converting the selected pictures with Gimp before printing them... Any hint is welcome!

Jetzt bookmarken:del.icio.usdigg.comgoogle.comhype it!live.comMa.gnoliaMister Wongstumbleupon.comTechnoratiWinkYiggIt

Hinterlasse eine Nachricht

CAPTCHA Bild zum Spamschutz