Compression
Reducing file size, either lossless or by discarding detail.
See it on the 3D treeGoing deeper
Lossless methods describe repeated or predictable data more efficiently, and the original can be rebuilt exactly. Lossy methods permanently remove information judged least noticeable, reaching much smaller sizes. Results depend heavily on content: flat graphics and noisy photographs behave very differently.
Why it matters
Knowing the trade-off lets you cut load times and file sizes without damaging what matters in the image.
In practice
You lower the export quality of a hero photo step by step, stopping just before artefacts appear in the sky.
Common mistake
Applying lossy compression to the only master file, so the discarded detail cannot be recovered.
Connected terms
- JPEGA format that gains small size by permanently discarding detail.
- PNGA format that compresses without losing any pixel data.
- WebPOffers both lossy and lossless compression in one format.
- BandingLossy compression can create or exaggerate banding.
- Image OptimizationCompression is one part of preparing images to load efficiently.