The honest answer to the question
"Compress without losing quality" is asking for something that does not exist for photographs. Lossless compression — the kind that genuinely changes nothing — saves perhaps 10–20% on a photograph, because there is very little redundancy left to exploit. Everything beyond that is achieved by discarding information.
The useful reframing: quality loss and visible quality loss are different things. A JPEG at 80% quality has discarded a great deal of data and looks identical to the original on any normal screen. That is where the savings live.
Where the free savings are
1. Stop using the wrong format
The single largest saving available to most people is not compression at all. A photograph saved as PNG is commonly five to ten times larger than the same photograph as a high-quality JPEG, for no visible benefit. If your large file is a PNG photograph, converting it to JPG will do more than any amount of careful quality tuning.
2. Come down from maximum quality
Camera and export defaults often sit at 95–100% quality, which is enormously wasteful. The last few percentage points of quality cost a disproportionate share of the file, because they encode detail almost nobody can perceive.
Rough guide for photographs:
- 90–100% — indistinguishable from the original. Very large files.
- 75–85% — still indistinguishable in normal viewing. Often half the size. This is the sweet spot.
- 60–75% — slight softening if you compare side by side and look for it. Fine for most web use.
- Below 50% — artifacts become visible in smooth areas: skies, skin, gradients.
- Below 30% — obvious blockiness.
3. Stop sending more pixels than anyone will see
A 4000-pixel-wide photograph displayed in a 600-pixel-wide box on a web page wastes about 97% of its data. The browser throws the extra away after the visitor has already paid to download it. Resizing to roughly twice the display size — enough for high-density screens — is often a bigger saving than any compression setting.
This is the one case where reducing dimensions is the *first* thing to do rather than the last: when the pixels genuinely will never be looked at.
4. Use a more efficient format, if you control the audience
WebP stores the same picture in roughly 25–35% fewer bytes than JPEG. Converting to WebP is close to a free saving for a website. It is not free anywhere else, because older software may refuse the file entirely.
Where the savings stop being free
Past a certain point every additional byte you remove costs something visible, and the order in which things break is predictable:
- Fine texture goes first — fabric weave, foliage, skin pores. The image looks slightly smoother than it should.
- Then gradients band — a clear sky becomes visible stripes rather than a smooth transition.
- Then edges ring — faint halos appear around hard boundaries, most obvious around text.
- Then blocks appear — the 8×8 grid JPEG works in becomes visible.
If you are seeing stage 1 you have compressed sensibly. If you are seeing stage 3, you have pushed past what the image can take and should reduce dimensions instead.
The rule that matters more than any setting
Always work from the original file. Every lossy re-encode discards detail on top of what the previous one removed, and the damage accumulates in a way nothing can undo. Compressing an already-compressed copy gives a worse result at the same file size than compressing the original once. This is generation loss, and it is the most common self-inflicted quality problem there is.
A practical procedure
- Start from the original, not a copy you made earlier.
- If it is a PNG photograph, convert to JPG first — that alone may be enough.
- If it is far larger in pixels than it will ever be displayed, resize.
- Then compress to the byte limit you actually need to hit, letting quality fall only as far as required.
- Look at the result at full size before you send it.
Steps 3 and 4 are what the compress-to-a-size tool automates: it finds the highest quality that fits your target and only reduces dimensions if quality alone cannot get there, so you never give up more than the limit demands.