Lesson 23 · Advanced
RAW and dynamic range
Read first:
What you will learn
- The difference between RAW and JPEG.
- What dynamic range is and why sun on water is hard.
- How to expose so that you keep highlights.
The lesson
A JPEG is a finished, compressed picture. The camera has already chosen white balance, contrast, colour and sharpening, and thrown away data to make the file small. A RAW file keeps the sensor’s data with little processing, usually 12 or 14 bits per pixel. It is bigger, needs a RAW editor, but gives far more room to fix exposure and white balance afterwards. Many phones can also save RAW (sometimes called a pro or DNG mode, depending on the model).
Dynamic range is the span from the darkest to the brightest detail a camera can record in one shot, usually measured in stops. Real scenes can be wider than a sensor can hold: a white sail in full sun beside a deep shadow under the boom. The human eye copes better than any camera.
When the scene is wider than the sensor, something is lost. Highlights that go past the limit become pure white (clipped) and cannot be recovered. Shadows that go too dark become noisy. In digital shooting, the rule of thumb is to protect the highlights: expose so the bright side of the histogram does not hit the right edge (lesson 5), then lift the shadows in editing. Note that the histogram on the camera screen is drawn from the processed preview, so with RAW it is only an approximation. RAW helps because it holds more detail in both ends than a JPEG does.
Ways to tame high contrast: shoot at a gentler time of day (lesson 11), change your angle, use a graduated filter on the sky, expose for the highlights, or combine several shots (covered in a later unit).
Costs: RAW files fill a memory card and need an editing step. For quick sharing, JPEG is fine. Many people shoot both.
Physics note
The sensor has a full-well limit for each pixel (how much charge it can hold) and a noise floor. Dynamic range is the ratio between them, quoted in stops, where each stop is a doubling.
Practice
- Photograph a backlit sail in RAW and JPEG (or in a camera that saves both). Pull the shadows up in an editor. Compare.
- Look at your histogram on a bright sea scene and decide: clipped or safe?
- Re-expose a clipped shot one stop lower.
- Write two situations where JPEG is enough and two where RAW is worth it.
- Why can a clipped highlight not be recovered?