How to use the Image Histogram tool
- Choose an image or drop it onto the page.
- Read the luminance histogram for the overall spread of tones.
- Compare the red, green and blue histograms for colour casts.
- Check the clipping percentages for shadows and highlights.
To view an image histogram, open the Image Histogram tool on Archive.London and choose or drop your picture. The tool draws histograms for the red, green and blue channels and for luminance, and reports the percentage of pixels clipped to black in the shadows and to white in the highlights. The image is analysed in your browser, not uploaded.
How to read a histogram
A histogram is a bar chart of brightness. The horizontal axis runs from black on the left (0) to white on the right (255), and the height at each point shows how many pixels have that value. A picture of a dark scene piles up on the left; a snow scene piles up on the right. There is no single correct shape.
What matters is the ends. A tall spike hard against the left edge means pixels have been clipped to pure black, with no shadow detail; a spike at the right edge means highlights blown to pure white. The clipping percentages put a figure on each. Small amounts are often fine, for instance a light source or a deep shadow, while larger figures mean real loss.
Gaps like the teeth of a comb indicate tones stretched by heavy editing.
What the separate red, green and blue charts tell you
The luminance histogram summarises overall brightness. The three channel histograms show each colour on its own, and they reveal problems the summary hides. One channel can clip while luminance looks safe: a saturated red flower may have its red channel jammed against the right edge, losing texture in the petals, though the picture is not especially bright.
Comparing the channels also exposes colour casts. In a scene that ought to contain neutral greys, three histograms of similar shape but shifted sideways from each other suggest a cast, towards whichever channel sits furthest right.
The analysis uses the image as your browser decodes it, in 8-bit sRGB, so it describes those values and not any extra depth in a 16-bit original. Processing is local and the file is never uploaded.
Judging a film scan by its histogram
The histogram is the quickest objective check on a scan. A good master scan keeps the whole range of the film inside the scale, with a little room at both ends and no clipping, even if that makes the picture look flat. Contrast can be added to a copy later; clipped tones cannot be put back. Transparencies are demanding in this respect because their shadows are very dense, and a scan can easily crush them to black.
It is equally a way to assess scans received from someone else before accepting them. Most of the analogue holdings of the Robert Harper Photograph Library are medium-format colour transparencies that largely await scanning, and the digitisation partners page is where that work is discussed.
Frequently asked questions
What does a good histogram look like?
There is no ideal shape, because it depends on the subject. A night scene should sit mostly on the left and a bright beach on the right. What to look for is whether the graph is cut off abruptly at either end, which signals clipping, and whether the tones use a reasonable share of the available range.
What does clipping mean in a photo?
Clipping is where tones fall outside the range the file can record and are forced to the limit. Clipped shadows become solid black and clipped highlights solid white, with no detail in either. The tool reports what percentage of pixels are at those extremes, so you can tell a few specular highlights from widespread loss.
What is the difference between an RGB and a luminance histogram?
A luminance histogram shows perceived brightness, combining the three colours with green weighted most. RGB histograms show the red, green and blue channels separately. The separate channels can reveal a single colour clipping, or a colour cast, when the luminance graph looks normal, which makes them the more sensitive check.
Why does my histogram have gaps or spikes?
Regular gaps, often called combing, appear when the tones of an 8-bit image have been stretched, for example by a strong contrast or levels adjustment. There are not enough distinct values to fill the wider range. Isolated spikes can come from flat graphic areas, borders or text. Severe combing may show as banding in smooth gradients.
Does the tool change or upload my image?
Neither. It only reads the pixel values to draw the graphs and calculate the clipping figures. The file stays on your device, is not sent to any server and is not saved by the tool. No account is needed, and the page will keep working offline once it has loaded.
