01.1 Pixels

A photo is a grid of numbers

Zoom far enough into a digital photo and you get small coloured squares called pixels. Each pixel is stored as three numbers: how much red, green and blue it contains.

Here's a photo with a patch of its real pixels lifted out and enlarged. Click a square to read its three numbers, click anywhere on the photo to lift out another patch, and drag the picture to look around it.

In a JPEG each number goes from 0 to 255. You can mix any colour from the three. The square below is one pixel, and the sliders are its three numbers.

  1. Press Black, Middle grey and White. Equal numbers give a grey with no colour in it.
  2. From middle grey, raise Red a little and lower Blue a little. The grey turns warm.
  3. Press Orange, then Sky, and look at which number is highest.

A RAW file holds a lot more. It stores 4,096 or 16,384 steps per number where a JPEG stores 256, and the camera hasn't added contrast, colour or sharpening yet. This is the reason a RAW file looks flat and dull when you first open it. It also handles heavy editing better, because there are more possible values between pure black and pure white.

01.2 Tools

Every tool reads numbers, transforms them and writes new ones

What makes each tool different is the recipe it uses to change those numbers.

POINT TOOLS IN: 125 RULE OUT: 169 LOOKS AT ONE PIXEL. SAME INPUT, SAME OUTPUT, ANYWHERE IN THE PHOTO. NEIGHBOURHOOD TOOLS COMPARE OUT: 102 LOOKS AT THE PIXELS AROUND IT. FINDS EDGES, GRAIN AND TEXTURE.
Exposure, contrast, curves, white balance and the colour tools change one pixel at a time. Sharpening, noise reduction, texture and clarity compare each pixel with the ones around it. Here the centre pixel sits next to brighter ones, so sharpening makes it darker and the edge shows more.

There's another kind of tool that changes nothing by itself. For example, a mask picks which part of the photo the other tools apply to, and a lot of the work in a finished edit goes through masks. Every tool on this page, masks included, gets its own chapter later in the course with more detail on how it works.

01.3 Histogram

The histogram sorts your pixels into piles

A histogram takes every pixel in the photo, sorts them by brightness and stacks them up, with dark on the left and bright on the right.

A tall pile means the photo has a lot of pixels at that brightness. And no, there's no perfect shape. A night street should lean left and a snowfield should lean right, and both can be great photos.

Use it to spot clipping. In the drawing above, the pixels outlined in red come from a bright window in the photo. They all reached pure white, so they land in one pile at the far right edge of the histogram. Once a pixel hits 255 its detail is gone for good. Darken it afterwards and all you get is a sad, flat grey. Every editor on this site shows a histogram and warns you when pixels clip.

01.4 The panel

What typical photo editing software looks like

Lightroom, Capture One, Darktable and Apple Photos use different names, but they share nearly all of these controls. Click a row to open its chapter.

The tools are listed top to bottom in roughly the order most people edit. Lightroom applies your changes in its own fixed order whichever slider you touch first, so the maths comes out the same. The order still affects your judgement. If you set contrast before white balance, you judge it on the wrong colours and often end up redoing it. By the end of this course you'll know what to edit first, so each change brings the photo closer to your vision.

01.5 What the pros do

A few sliders, in the same order most of the time

Most photographers move five or six sliders and leave the rest at zero. You don't have to use every tool, far from it. That would be like getting out everything in your shed each time you mow the lawn.

Working photographers also tend to go through the tools in the same order. Each step gives the next one something reliable to judge.

  1. White balance. Get the colours right before you judge anything else.
  2. Exposure. Bring the subject to the right brightness.
  3. Highlights, shadows, whites and blacks. Fit the scene into the range between black and white.
  4. Tone curve. Put contrast where you want it.
  5. Colour. The mixer, vibrance and saturation, then colour grading for the mood.
  6. Detail. Sharpening and noise reduction. Many people set these once in a preset and leave them.
  7. Masks. For anything that should change only part of the photo.

Each chapter tells you which tools photographers rely on and which they mostly leave alone.

01.6 This site

How each chapter works

Every chapter has the same six parts, and the list on the left shows where you are.

  1. The idea. One picture of what the tool does, with sliders to move.
  2. The rule. What happens to the pixels.
  3. When to use it.
  4. How photographers use it, with a verdict on how much it matters.
  5. Try it on a few photos.
  6. Recap, with a question to check you got it.

There are also some pictures in 3D, and you can drag them to turn them around. Words with a dotted underline, like stop, show a short definition when you hover or tap them.

The photo editors here are simplified copies of the real tools, and they run in your browser. They behave closely enough to learn from.

On every photo, drag the line to compare before and after. Double-click a slider's name to reset it. Show my edit moves the sliders to where I'd put them and says why. That's one person's taste, so feel free to disagree. Your eye matters more than mine.