LCMS

I found the following note on the photo.net forums and reproduce the relevant bits here:

... Film Gimp looks ok although a bit ascetic. It has a zooming and panning feature, it handles 16 bits (or even floats), and allows the adjustment of basic parameters. Currently that is enough on the editing front.

dcraw Bayer interpolation (by the variable number of gradients method) produces decent 16/48-bit output without any problems... except for the color. In its raw output global image parameters seemed somehow seriously wrong (color, gamma...).

But then I learned that a thing called color management with ICM profiles exists, and discovered free color profiles for D60 linear RAW output (close enough to 10D for now). A library called lcms is under LGPL (i.e., essentially free), looks professional, and Imagemagick 5.5.7 is able to use it. ImageMagick also supports an EXIF library which is at the beta stage right now but probably useful. I will test that when I get my camera and some free time.

After getting lcms and Imagemagick compiled (didn't find good binaries), I wrote

convert crw:10d_0000__0157.CRW -profile CanonD60-RAW-Linear-1.4.icm -profile sRGB.icm -intent Relative -normalize test.tiff

... and the magick indeed happened! :) The resulting 16-bit TIFF looks in all respects (except for the trivial sharpening) better than the corresponding JPG thumbnail from the camera, and Film Gimp is able to edit the TIFF. Producing JPEG is equally trivial.

BTW, Vuescan (of the order $50) also supports 10D RAW. It is reported to use dcraw (for Bayer interpolation) and it probably uses lcms. So it is largely redundant unless you want the sliders or have real scanning needs.


Feedback? Questions? Drop me a line!

Uncle Tom's Digital Photography Info / tom@mmto.org