An introduction to raw files

A lot is being said about (and done with) raw capture files from digital cameras. I want to give a brief introduction, then launch into details about the one particular raw file I work with, the canon CR2 file that comes from my Canon 20D camera.

A raw file contains unprocessed information, as direct as you can get it (in digital form anyway) from the camera sensor. This has many advantages, if you have tools to work with it, such as the following:

These are the main advantages that seem really significant thus far, in particular the fact that the data is stored in 12 bits (or 14 bits in the case of newer cameras, and who knows what the future holds). This extra color resolution (not spatial resolution) boils down to additional dynamic range in the image. There are great advantages to retaining this resolution while doing the first stages of image processing.

Does this mean that JPEG is bad, and should never be used? Not at all, it often does a fine job, and the DIGIC chips used in Canon cameras do a superb job in generating it. Above all, a JPEG file excells in convenience, they come out of the camera ready to use on the web, send to friends, to print at the local Walgreen kiosk.

Note also that the color space, white balance, sharpening, and saturation settings in the camera menu affect only the generation of the JPEG files by the camera.

If you are interested in a lot of technical details about the inner workings of the canon CR2 raw format, see the following links:


Feedback? Questions? Drop me a line!

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