FIELD NOTE / IMAGE SYSTEMS

JPEG Quality Settings That Preserve Detail

A safer way to choose JPEG quality settings using visual boundaries, difficult source images, and delivered-size review.

01100VISUAL QUALITY / DELIVERY WEIGHT
Descending technical bars representing JPEG quality levels

Short answer: there is no portable “best JPEG quality.” A value of 80 in one encoder is not guaranteed to match 80 in another, and the same value can treat a portrait, a screenshot, and a noisy night photo very differently. Choose the lowest setting that passes a defined visual test for your content and delivery size, then lock that encoder-specific preset.

Quality numbers are not percentages

The familiar 1–100 control is an encoder interface, not a promise that 80 preserves 80 percent of the source. Encoders map the number to quantization tables and other choices in their own way. Software versions can also change defaults. That is why copying a recommended number from an unrelated tool often produces inconsistent results.

Start by recording the encoder name and version. Note whether the output is progressive and which chroma subsampling mode is active. Those details can affect both size and appearance. If a team changes libraries, the old numeric setting should be revalidated instead of silently carried forward.

Build a JPEG torture set

Use images that expose the failures you actually fear. Fine hair and grass reveal texture loss. Red text on a white background exposes color smearing. Dark gradients reveal banding and block boundaries. Repeating fabric patterns can turn into mush. High-ISO camera noise may make a file unexpectedly large because the encoder cannot describe random detail efficiently.

Include normal images too. A preset optimized only for the hardest file may overspend bytes everywhere else. The set should represent the distribution of the library, with extra weight on high-value product, campaign, or editorial assets.

Test in a narrow useful range

Export a small ladder rather than every possible setting. Begin with a conservative reference and step downward until a reviewer can identify an unacceptable change at the intended display size. Then choose the candidate just above the failure boundary. Repeat at mobile and desktop slots if the same source serves both.

Do not judge only at 400 percent zoom. Extreme zoom is useful for diagnosing the kind of damage, but it can turn harmless pixel changes into alarming artifacts. The acceptance decision should match the reader’s view, including any supported product zoom. Compare the source and candidate with the same color-management conditions.

Watch chroma subsampling

JPEG often stores brightness detail more precisely than color detail because human vision is generally more sensitive to luminance. The common 4:2:0 mode can save bytes, but small saturated text, interface screenshots, and sharp colored edges may suffer. A 4:4:4 output retains more color resolution at a size cost. Test both when edge color matters.

This is also why converting a flat graphic to JPEG can be a poor bargain. The format is strongest on continuous-tone photography. A palette PNG, lossless WebP, or vector asset may keep synthetic edges cleaner and sometimes smaller.

Progressive encoding is a delivery choice

A progressive JPEG can display in successive passes and may encode slightly differently from a baseline file. It is not automatically faster in every page. The resource still has to be discovered, transferred, decoded, and painted. Compare real loading behavior, especially for small thumbnails where the difference may be negligible.

Turn the result into policy

Create separate presets for at least photographs, product detail, and text-heavy raster graphics. Store dimensions, quality, subsampling, progressive mode, metadata rules, and sharpening alongside each preset. Keep masters untouched. When the encoder changes, rerun the same test set and compare both bytes and visual failures.

A good JPEG setting is therefore a documented boundary, not a magic number. It preserves the details the image must communicate, saves enough bytes to justify the processing, and can be reproduced by the next person or build system.

Field checklist

  • Use the same encoder when comparing quality numbers.
  • Include text, skin, foliage, gradients, and dark tones in the test set.
  • Inspect color edges for chroma smearing.
  • Judge at the delivered size and supported zoom level.
  • Save the encoder and subsampling settings with the preset.

Continue the workflow

Primary references