How to Compress Images Without Visible Quality Loss
Most images can be 60โ80% smaller with no perceptible quality drop. The trick is knowing where the floor is, and how to find it for the image you actually have.
A 5 MB photo straight off a phone usually contains about 4 MB of bytes nobody can see. Lossy compression throws those bytes away. The question is: how far can you push it before the loss is visible?
This post is a practical guide. No "AI-powered" claims, no SEO filler, just the things that actually matter when you're deciding what quality setting to use.
What "quality" actually means
When you save a JPG at "quality 80," you're telling the encoder how aggressively to round off color and brightness data. The number is a knob, not a percentage of "image fidelity." Quality 100 doesn't mean lossless; it means the encoder rounds off less.
Three useful anchors on the JPG quality scale:
- Quality 95+: Visually identical to the source for most viewers. Files are 30โ40% smaller than the raw source. Use for archival or hero images you'll print.
- Quality 80โ85: The "sweet spot" for the web. Files are 60โ70% smaller than quality 100. Differences are invisible at normal viewing distances.
- Quality 60โ70: Still acceptable for thumbnails and gallery previews. You can see degradation if you zoom in, but at the size shown it's fine.
- Below 50: Visible artifacts on most images. Skies banding, flat areas getting blocky, edges getting fringed. Avoid unless you specifically need a tiny preview.
WebP and AVIF have similar quality scales but the numbers don't translate one-to-one. WebP at quality 75 is roughly equivalent to JPG at quality 85. AVIF at quality 50 is often equivalent to WebP at 75.
What kinds of images compress well
Compressors love smooth gradients and predictable patterns. They struggle with chaos. In practice:
Compresses well:
- Skies, water, skin tones
- Out-of-focus backgrounds
- Solid color UI screenshots
- Anything blurry or soft
Compresses poorly:
- Foliage (leaves are visual noise)
- Fine text rendered as an image
- Sharp transitions like horizontal blinds or chain-link fences
- Images with film grain or sensor noise
If your image is mostly the second category, expect to keep quality at 85+ to avoid visible artifacts. If it's mostly the first, you can drop to 70 and barely tell.
A quick way to find the floor
Compressing the same image at multiple quality levels and comparing them side-by-side is the only reliable way to see where the floor is for a given photo. The process:
- Save copies at quality 95, 85, 75, 65.
- Open them next to the original in a viewer that lets you flip between them.
- Look at the parts most likely to break first: gradient skies, soft edges, faces.
- Pick the lowest setting that still looks "the same" at the size you'll display.
This sounds tedious, but it's a 30-second exercise per image, and it'll save you guessing.
Common mistakes
Re-saving JPGs. Every time you decode and re-encode a JPG, you lose more data. If you compressed a photo to quality 80, then opened it in an editor and saved again at quality 80, you've now applied lossy compression twice. Always work from the highest-quality original you have.
Picking quality based on file size alone. Two images at the same quality setting can produce very different file sizes. That's compression doing its job. Don't normalize by size; normalize by visual quality.
Compressing PNGs with lossy settings. Standard PNG is lossless, so its "quality" knob mostly controls predictor algorithms and palette quantization. If you want lossy savings on a PNG, convert it to WebP (which supports both lossy and lossless transparent images).
Trusting quality 100. "100" doesn't mean lossless on JPGs. If you want a true lossless photo source, save as PNG, TIFF, or a lossless WebP/AVIF.
What to do for the web
A reasonable default for most web images:
- Photos: WebP at quality 75โ80, or JPG at quality 82โ85 if you need maximum compatibility.
- Screenshots / UI: WebP lossless, or PNG run through a quantizer that drops the palette to 256 colors.
- Hero images: AVIF at quality 55โ65 with a WebP fallback.
- Thumbnails: Whatever the format, drop quality 10โ15 points below your full-size version.
A small note on dimensions: compressing a 4000ร3000 image to fit a 800-pixel-wide layout doesn't make it smaller in any meaningful way. The browser still has to download and decode the full image. Resize first, then compress. A correctly-sized 800ร600 photo is going to be 80% smaller than a 4000ร3000 one, regardless of quality setting.
You can compress JPGs, or any image format, in your browser with OmegaPix's Image Compressor or JPG Compressor. Set the quality, drop in your files, done.
Try Image Compressor, free in your browser
No uploads, no account. Your images never leave your device.
Open Image Compressor