Skip to content
ROKŌ

Intermediate · Lesson 28

Editing: RAW and JPEG

Goal: You use the headroom of a RAW file to balance a high-contrast night scene afterwards.

New controls: File format (RAW/JPEG) RAW development Histogram

Practise in the simulator

How it works

1 The negative and the print

A RAW file holds the sensor’s readings, still without white balance, picture style and sharpening. A JPEG is the finished picture – the camera has already decided.

JPEG stores 8 bits per channel (256 levels), RAW usually 12 to 14 bits (4,096 to 16,384 levels). That reserve shows as soon as you edit heavily.

RAW vs JPEG latitude0+1+3+5+7JPEG≈ 8 stops, already processedRAWshadow reservehighlight reserveRAW keeps 12–14 stops of sensor data for later developmentExposure in EV relative to mid-grey

2 Headroom in shadows and highlights

A RAW file can often lift shadows by two to three stops before noise gets in the way. A JPEG quickly shows banding and colour blotches.

Fully clipped highlights are lost even in RAW: where the sensor was full, there is nothing to recover.

Histogram examplestoo darkBlackWhitebalancedBlackWhitetoo brightBlackWhitePile-up at the edge = clipped (crushed shadows or blown highlights)

3 Expose for the highlights

This leads to a strategy for high-contrast scenes: expose just short enough that the bright lamps do not clip, and lift the dark areas later during development.

Histogram examplestoo darkBlackWhitebalancedBlackWhitetoo brightBlackWhitePile-up at the edge = clipped (crushed shadows or blown highlights)

4 White balance afterwards

Since white balance in a RAW file is only a note, you can change it without loss – ideal for mixed light from sodium lamps, LEDs and moonlight.

Colour temperature in kelvinCandle1900 KTungsten2700 KSunrise3500 KDaylight/flash5500 KOvercast6500 KShade7500 KBlue sky10000 KwarmcoolWhite balance = tell the camera the light colour so white stays white

Tasks in the simulator

  1. Shoot the lighthouse in RAW
    Set the file format to RAW+JPEG – then you have both versions to compare.
  2. Protect the highlights: −1 EV or less, hardly any clipping
    Set exposure compensation to −1 to −2 EV. In the histogram hardly anything should touch the right edge.
  3. Develop the RAW: lift shadows, keep highlights
    Open the darker shot in the editor, raise exposure and shadows and lower highlights if needed. Save the result.

Key points

  • RAW = raw data with headroom, JPEG = finished picture.
  • High contrast? Expose for the highlights, lift the shadows later.

Terms in the glossary

  • RAW (raw data) – RAW is a file format that stores the unprocessed sensor data, much like a digital negative.
  • JPEG – JPEG is a compressed image format in which the camera finishes processing the picture and stores it compactly.
  • Dynamic range – Dynamic range is the span between the darkest and brightest tones a sensor can still record with detail.
  • Histogram – The histogram is a graph showing how many pixels fall on each brightness level, from black on the left to white on the right.
  • White balance – White balance adapts the camera to the colour of the light so that white actually looks white.

Practise in the simulator