Image glossary
Chroma subsampling
Also known as 4:2:0, 4:4:4, chroma subsampling ratio
Chroma subsampling stores colour information at lower resolution than brightness information, exploiting the eye's poor sensitivity to fine colour detail to remove data before compression even begins.
The asymmetry it exploits
Human vision has far more receptors for brightness than for colour, and resolves fine luminance detail much better than fine chrominance detail. A lossy encoder converts the image from RGB into a space that separates one brightness channel from two colour channels precisely so it can treat them differently.
Chroma subsampling then stores the colour channels at reduced resolution — typically half in each direction. That removes half the total data before any transform or quantization has happened, and on a photograph it is essentially invisible.
Reading the notation
The three-number notation describes a sampling region four pixels wide and two rows tall. 4:4:4 means no subsampling: full colour resolution. 4:2:2 means the colour channels are halved horizontally and kept full vertically. 4:2:0 means halved in both directions, so one colour sample covers a 2x2 block of pixels.
4:2:0 is the default in most JPEG encoders and in video. 4:4:4 is available in most encoders as an option, usually labelled something like "full chroma" or "no subsampling".
Where it becomes visible
Saturated colour against a contrasting background, at small scale. Red text on a white background is the classic failure: the letterforms are defined by a colour transition, and that transition is now stored at half resolution, so the edges smear and fringe. The same happens to thin coloured lines in a chart, and to fine coloured detail against a neutral field.
This is one of the reasons a screenshot should not be a JPEG. It is not only the quantization artefacts; the colour resolution has already been halved before quantization started.
If you must ship a lossy file containing coloured text or graphics, disabling subsampling costs perhaps 20% in file size and removes the fringing entirely.
Tools that work with this
Related terms
- Lossy compressionLossy compression permanently discards image information judged imperceptible in order to make files dramatically smaller, and the discarded data cannot be recovered.
- QuantizationQuantization is the step in lossy image compression that rounds transformed image data to coarser values, and it is the point at which information is permanently lost.
- JPEGJPEG is a lossy raster image format from 1992 that remains the most universally readable image format in existence, with no support for transparency.
- Bit depthBit depth is the number of bits used to store each colour channel of a pixel, determining how many distinct levels are available per channel.
Back to the full glossary.