MiniPxMiniPx
PricingBlogAccount

What is chroma subsampling?

Storing colour at half resolution because your eyes cannot tell. Except in one situation, where they very much can.

🎨
Open the Compressor →

PNG for coloured text and graphics — no subsampling at all

What Is Chroma Subsampling? — Free, Fast & Private

Human vision resolves brightness far more sharply than colour. Image and video codecs have exploited that for decades: store the brightness channel at full resolution, and store the colour channels at half. The picture looks the same and the file is substantially smaller.

To do it, the encoder converts RGB into YCbCr — Y is luma (brightness), Cb and Cr are the two chroma (colour) channels. Then it throws away some of the chroma. How much is what the ratio notation describes:

  • 4:4:4 — no subsampling. Every pixel keeps its own colour value.
  • 4:2:2 — colour sampled at half horizontal resolution. Two pixels side by side share one colour value.
  • 4:2:0 — colour sampled at half resolution both horizontally and vertically. A 2×2 block of four pixels shares a single colour value. This is the default for almost every JPEG.

4:2:0 discards three quarters of the colour samples. On a photograph you will not see it: real-world colour varies gradually across a face, a wall, a sky, so one value serving four pixels is close enough to be invisible.

Where it falls apart: red text on white

Now take a hard edge between two colours of similar brightness — red text on a white background is the canonical example. The luma channel keeps the edge sharp, but the colour information is being averaged across 2×2 blocks. The red bleeds outward by a pixel and the letters acquire a muddy fringe.

Once you know to look for it you will see it everywhere: red or blue text in JPEG screenshots, saturated logos, coloured UI elements, subtitles, diagrams with thin coloured lines. It is not a quality-setting problem. Push JPEG quality to 95 and the fringe is still there, because it comes from the colour channels being sampled at half resolution before quality is applied at all.

What to do about it

Use PNG for coloured text and graphics. PNG stores RGB directly with no colour conversion and no subsampling, so the edge stays exactly where you put it. This is the real reason screenshots should not be JPEGs — not that JPEG is “lossy” in the abstract, but that this specific mechanism attacks precisely the content a screenshot is made of.

WebP and AVIF handle it better. Both support 4:4:4, and both are far more efficient than JPEG at the same visual quality, which is why a WebP screenshot can be smaller than the JPEG and cleaner. For anything web-facing that mixes photography and text, they are the better default.

Or raise the resolution. If the file has to be JPEG, doubling the pixel width means the 2×2 chroma blocks cover half as much of the visible letterform, which softens the artefact without eliminating it. A workaround, not a fix.

Why 4:2:0 is still the right default

It is worth saying plainly that subsampling is not a defect. For photographs — which is what JPEG was designed for and what most images are — it removes a large fraction of the data at no perceptual cost whatsoever. Every digital camera, every streaming service and every video codec relies on the same trick.

The practical rule is simply to know which kind of image you have. Photograph: JPEG at 4:2:0, and enjoy the smaller file. Coloured text, a logo, a screenshot, a chart: PNG, or WebP/AVIF at 4:4:4.

MiniPx Pro exposes chroma subsampling as an explicit control for cases where you want to make that call yourself. The free tier picks sensible defaults per format — and choosing PNG or WebP for graphics sidesteps the question entirely.

For how the three formats compare more broadly, see WebP vs PNG vs JPEG.

How it works

  1. Identify what kind of image it is: Photograph, or graphic with coloured text and hard edges? The answer decides the format, and the format decides whether subsampling applies.
  2. Photographs: JPEG is fine: 4:2:0 subsampling removes three quarters of the colour samples with no visible cost on real-world scenes.
  3. Coloured text or graphics: use PNG: PNG stores RGB directly with no chroma subsampling, so edges between colours of similar brightness stay clean.
  4. Web-facing mixed content: WebP or AVIF: Both support 4:4:4 and are more efficient than JPEG, so the output can be smaller and cleaner at once.
  5. If it must be JPEG, raise the resolution: More pixels means the 2x2 chroma blocks cover less of each letterform. It softens the fringing rather than removing it.

Frequently asked questions

What does 4:2:0 mean?
Colour is sampled at half resolution both horizontally and vertically, so each 2x2 block of pixels shares one colour value — three quarters of the colour samples are discarded. It is the default for almost every JPEG.
Why does red text look blurry in my JPEG?
Chroma subsampling. The brightness edge stays sharp but the colour is averaged across 2x2 blocks, so red bleeds outward into the white. Raising JPEG quality does not fix it because the colour was already downsampled before quality was applied.
What is the difference between 4:4:4 and 4:2:0?
4:4:4 keeps a colour value for every pixel. 4:2:0 keeps one for every four. On photographs the difference is invisible; on coloured text and graphics it is obvious.
Does PNG use chroma subsampling?
No. PNG stores RGB directly with no YCbCr conversion, which is why it is the right format for screenshots, logos and coloured text.
Do WebP and AVIF suffer the same problem?
Both support 4:4:4, so they can avoid it, and both are more efficient than JPEG at equivalent quality. For web content mixing photos and text they are usually the better choice.
Is chroma subsampling bad?
No — it is one of the most effective perceptual optimisations in imaging, and every camera and streaming service uses it. It only becomes a problem when the content is hard-edged colour rather than a photograph.
Can I control subsampling in MiniPx?
Pro exposes it as an explicit codec control. On the free tier, choosing PNG or WebP for graphics avoids the issue entirely.

All Image Tools

AI Tools

Pro Tools

Compress

Convert

Resize

Compress to Size

Compress for Platform

Tools & Utilities

By Device

Compare