Skip to content
BENIBIX Learn

Image Compression

Design👁️ Visual CommunicationDigital Images

Also known as Lossy Compression, Lossless Compression

Making a picture file smaller. One way keeps each pixel. One way drops a bit of detail.

Think of it like

It is like packing a suitcase. Fold well and it all fits, or leave a few things behind.

Example

A shop saves its product photos as JPEG at 80% quality. Each page loads in half the time, and nobody sees a difference.

Why it matters

Pictures are often the heaviest part of a web page. Smaller files make the page load faster.

Definition

Image compression makes an image file smaller. Lossless compression, used by PNG, packs the data tighter but keeps every pixel. Lossy compression, used by JPEG, throws away detail the eye will not miss. Lossy files are much smaller. Too much of it makes blurry blocks. WebP and AVIF can do both, and are often smaller still.

Common mistake

Saving a logo or a screenshot as JPEG. Sharp edges and text get blurry smudges; use PNG or SVG.

Key takeaways

  1. 1
    Lossless keeps all. PNG: every pixel stays.
  2. 2
    Lossy drops detail. JPEG: much smaller files.
  3. 3
    Match the image. Photos lossy, flat graphics lossless.

Learn it properly