Showing posts with label Photography. Show all posts
Showing posts with label Photography. Show all posts

Sunday, 12 June 2011

Batch file to convert RAW to JPEG using dcraw

This is more a note for myself really, so that I can't quickly batch convert my Olympus E-500 .ORF (raw) images quickly to .jpg (JPEG) using dcraw and exiftool.

Using dcraw you can convert from most RAW formats to lesser formats, like JPEG.

Code:   
for i in *.ORF; do newname=$(echo $(basename "$i" ".ORF").jpg); dcraw -c -w -W -v -h "$i" | cjpeg -quality 95 -optimize -progressive > "$newname"; exiftool -overwrite_original -tagsFromFile "$i" "$newname"; done
   

Saturday, 30 January 2010

TIP: Viewing Olympus Raw Format picture (.orf)

I have an Olympus e-500 and haven't decided if I prefer RAW over TIFF yet but just wanted to say that you can view Olympus Raw Format picture (.orf) if you have dcraw package installed.

Install it via Synaptic Package Manager.

GIMP - Install the gimp-dcraw plugin via Synaptic Package Manager allows you to edit the image in GIMP.

RAW gives the same quality as TIFF but, in a smaller file size. The lack of viewers and editor for RAW needs considering.