WorkspaceResource center

Lossless and lossy compression

A screenshot of a spreadsheet and a photograph of a sunset reveal different compression problems. Put fine black lettering next to a sky gradient and compare each part of the export.

What a lossless round trip preserves

Lossless compression reconstructs the values given to the encoder. This helps preserve one-pixel lines and exact color swatches. If an earlier editing step resized the picture, changed the color space or removed metadata, a lossless final encode still contains those earlier changes. It also cannot undo damage already baked into an existing JPG.

What lossy encoding can trade away

Lossy encoders selectively reduce precision. This can produce very small photographs at useful viewing quality, but dense lettering may develop halos, and a subtly changing tone may become banded. A perfectly flat background and a detailed patch of foliage respond differently even at the same quality setting.

Keep a master and a delivery copy

Keep the original for any future edits. Export photographic delivery copies at the dimensions they need, then inspect at their intended display size. Save diagrams or UI artwork in a lossless format when exact edges matter. Compare finished byte counts because the result depends on the picture as well as the format.

Try it yourself

More guides

All guides