PDA

View Full Version : RAW converter for Linux, anyone?


Rowla
22nd of February 2004 (Sun), 23:55
Anybody out there know of any Linux software that will convert RAW to tiff? The only software I have is Canon's crappy image viewer file but it's Windows and the notebook we got for transferring files away from home has Linux loaded on it. I thought it would be nice to have software installed so I could start processing the RAW files on the long drives home.

Any suggestions would be great ... except for suggesting that we take Linux off the notebook. I think my boyfriend would implode.

Thanks :)

Bubber Jones
23rd of February 2004 (Mon), 00:04
Check out:

http://www.cybercom.net/~dcoffin/dcraw/

It'll convert Raw to PPM and looks like many commercial apps have used it as a base...

Something to look at anyway...

Rowla
23rd of February 2004 (Mon), 00:10
Wow, that was fast. Thanks Bubber :)

Will Photoshop open PPM files?

Bubber Jones
23rd of February 2004 (Mon), 00:18
Check about 1/3rd of the way down the page....


Could you please add an option for TIFF / PNG / BMP / JPEG output?
No. Dcraw writes PPM only. To convert to other formats:
dcraw -c crw_0001.crw | pnmtotiff -truecolor > crw_0001.tiff
dcraw -c crw_0001.crw | pnmtopng > crw_0001.png
dcraw -c crw_0001.crw | ppmtobmp > crw_0001.bmp
dcraw -c crw_0001.crw | cjpeg > crw_0001.jpeg

I used the Netpbm toolkit in these examples. ImageMagick also does command-line format conversions. Both are free.


You could wrap up a shell script to convert the images to most any format that a graphics utility with stdin/stdout support could handle.

I've used this program for some automated conversions, but it is not my main workhorse. I've done some work with it and it works well, but I can't tell yet how it compairs to the other solutions quality wise...

I'm still playing with it, though.. I'd like to compare notes if you take it on...

Bubber Jones
23rd of February 2004 (Mon), 00:20
(I realized I didn't answer the question)...

I don't have PS in front of me, so I'm not sure if it'll open ppm files directly, or not... :)