JPEG Chroma Subsampling: 4:4:4 vs 4:2:0 Explained

When saving an image as a JPEG, chroma subsampling is a compression technique that reduces color information to decrease file size without drastically affecting perceived image quality. The primary difference between 4:4:4 and 4:2:0 subsampling lies in how much color data is retained: 4:4:4 preserves complete color fidelity for every single pixel, while 4:2:0 discards three-quarters of the color data by sharing color samples across two-by-two pixel blocks. Understanding this distinction is critical when balancing image quality against storage and bandwidth constraints.

How Chroma Subsampling Works in JPEG

The JPEG format converts standard RGB (Red, Green, Blue) image data into the YCbCr color space. In this space:

Because the human visual system is far more sensitive to variations in brightness than to subtle variations in color hue and saturation, JPEG encoders can discard chroma information while keeping full luma resolution.

4:4:4 Chroma Subsampling

In a 4:4:4 scheme, no chroma subsampling occurs. For every 4 pixels horizontally across a 2-pixel tall block:

Key Characteristics of 4:4:4:

4:2:0 Chroma Subsampling

In a 4:2:0 scheme, color information is heavily compressed. Chroma resolution is halved both horizontally and vertically:

This means a 2x2 grid of four pixels shares a single pair of Cb/Cr color samples, resulting in a 75% reduction in color data compared to 4:4:4.

Key Characteristics of 4:2:0:

Summary of Differences

Feature 4:4:4 Subsampling 4:2:0 Subsampling
Color Data Retained 100% 25%
Horizontal Resolution Full Half
Vertical Resolution Full Half
Text/Vector Clarity Crisp, no color fringing Prone to color blurring/artifacts
Relative File Size Larger Significantly smaller
Primary Target Graphics, UI, typography Natural photography, web imagery