Home > compjutah, freeware, OpenSource, photography, Software > compile dcraw raw image converter under debian lenny to support canon eos 7d .cr2-files

compile dcraw raw image converter under debian lenny to support canon eos 7d .cr2-files

after a long search i finally found a method to compile dcraw under debian so that it can handle the raw files of my canon eos 7d.

just do the following:
download the c-source from http://www.cybercom.net/~dcoffin/dcraw/dcraw.c
open a terminal and navigate to the folder you downloaded the c-source.
then install two libraries needed for compiling dcraw

apt-get install libjpeg62-dev

apt-get install liblcms1-dev

after that compile dcraw with the following command

gcc -O3 -o dcraw dcraw.c -lm -ljpeg -llcms

then copy the compiled version of the program (dcraw not dcraw.c) to your /usr/bin

now you are set.
navigate to a folder with raw pics and just type

dcraw *

now it will batch convert all the containing raw files

i found this info here: http://www.camerahacker.com/Forums/DisplayComments.php?file=Digital%20Camera/RAW_converter_for_linux

  1. No comments yet.
  1. No trackbacks yet.