According to wikipedia, our Canon EOS 1100D camera is capable of saving to RAW 14 bit CR2 format!
To convert linearly,http://www.mit.edu/~kimo/blog/
dcraw -v -4 -H 0 -W -w -q 3 file.nef
Using this post as the basis,
http://stackoverflow.com/ questions/138497/iterate-all- files-in-a-directory-using-a- for-loop
below is a command which can be saved as a batch file (filename.bat) which works on Windows XP for linear conversion to tiff, for all files in the folder. Tested working on Windows 8.1 also.
for /r %%i in (*.CR2) do dcraw -v -4 -H 0 -W -w -q 3 -T %%~nxi
A similar shell script on Linux / Mac would have the following form, adapted from
http://www.tuxradar.com/answers/484
for f in ~/path/*.CR2
do
dcraw -v -4 -H 0 -W -w -q 3 -T "$f"
done
The -T makes dcraw output a TIFF file instead of the default Portable Pixmap PPM file.
No comments:
Post a Comment