Home › Guides › Lossy vs Lossless Compression: What You Give Up

Lossy vs Lossless Compression: What You Give Up

By Mohammad Rijwan · Updated 2026-11-22

When a tool says it made your photo smaller, it either kept every detail (lossless) or threw some away (lossy). Knowing which is which helps you choose a setting without surprises.

Lossless: smaller with nothing lost

Lossless compression finds patterns and writes them in a shorter way, like writing "20 white pixels" instead of listing each one. You can restore the original exactly. PNG works this way. The savings are modest for photographs but large for flat graphics and screenshots.

Lossy: much smaller by discarding detail

Lossy compression removes information people are least likely to notice, such as tiny colour differences. JPG and WebP can reduce a photograph to a tenth of its size or less. The cost is that the removed detail cannot be restored.

What artefacts look like

At low quality, JPG shows blocky squares, blurred edges and colour smears around text and sharp lines. Faces and skies usually survive best; screenshots and documents with small text suffer first.

Generation loss

Every time you open a JPG, edit it and save it again, a little more detail is lost. Always keep your original photo and make each new version from it, not from a previous copy.

Choosing

For form uploads with a KB limit, use JPG at the highest quality that fits. For logos and screenshots with text, use PNG when the size allows. When you must reach a very small size, reduce the pixel dimensions first: it often costs less visible quality than pushing the compression slider to the bottom.

Tools for this job

More guides