CyanframeTOOLS · PHOTO LAB · GUIDES

Cyanframe › Guides

How to compress images without losing quality

Updated November 4, 2026

Quick answer

To compress images without visible loss, resize first (1600–2000 px for websites), choose WebP or JPG, and set quality to 75–85%. Always compress from the original and keep it for printing.

Large images slow down websites, fill up your phone and are often rejected by forms and email. The good news: you can usually cut an image's file size by 70–90% without anyone noticing a difference. Here is how.

1. Resize first

Modern phone photos are 4000 px wide or more, while most screens show images well under 2000 px wide. Reducing the dimensions is the most powerful way to shrink a file, because the pixel count drops sharply: a 4000 px image has roughly four times as many pixels as a 2000 px one.

2. Pick the right format

3. Set quality between 75 and 85%

JPG and WebP let you choose a quality level. 75–85% is the sweet spot: the visual difference is practically invisible and the file is far smaller than at 100%. Go down to 60–70% only when size matters more than detail, for example preview images.

4. Step by step in Cyanframe

  1. Open the compress & convert tool and drag your images in or click to choose them. You can select several at once.
  2. Enter a maximum width in pixels (for example 2000), or 0 to keep the original size.
  3. Choose the format (JPG or WebP) and set quality to 80%.
  4. Click “Start processing”. You will see the size before and after for each image; then download the results.

Everything runs in your browser, so your images are never uploaded to a server — important if your photos are personal or belong to clients.

Common mistakes

A real test: three photos, one setting

To show what these settings do in practice, we ran three very different photos through the compressor with one setting: max width 1600 px, JPG, quality 80%.

Compressing three photos in Cyanframe: sizes before and after and the before/after slider
Our test in the tool: every file shrank, and the slider shows no visible difference.
PhotoBeforeAfterSaved
Tiznit wall and spring (stone, water and moss: lots of detail)685 KB505 KBabout 26%
Product on a white background158 KB50 KBabout 68%
Portrait90 KB50 KBabout 44%

Two lessons from this test. First, busy images compress less: fine textures such as fabric, leaves or gravel hold a lot of detail, so the encoder has less to throw away. Second, plain backgrounds compress very well, which is why product photos on white can often go under 100 KB with no visible loss. A photo straight from a phone (3–6 MB) usually shrinks far more than these, because most of its size comes from pixels nobody needs on a screen.

Which target size for which use?

UseWidthTypical file size
Blog or article image1600–2000 px150–400 KB
Online store product photo1000–1200 px60–200 KB
Sending by email or WhatsApp1600 px200–500 KB
Official form with a size limitas requireduse resize to KB
Printingkeep the originaldo not compress

What we learned at the photo counter

After many years of printing photos, the most common problem we see is not a bad camera — it is a photo that was compressed several times on its way to us: sent on WhatsApp, saved, posted, downloaded again. Each step removes a little detail, and by the time it reaches the printer, a 10×15 cm print looks soft. So keep two copies: the original for printing and archiving, and a compressed copy for sharing. Never overwrite the original with the small version.

Second test: the counter at our photo lab

We took a real phone photo of the counter at Photo Labo El Mechouar: 2576×1670 pixels, 1238 KB. Then we compressed it in Chrome, the same engine the compression tool uses, with different settings. These are the results as we measured them:

DimensionsJPG qualityFile size
2576×167095%1454 KB
2576×167085%1081 KB
2576×167075%741 KB
2576×167040%428 KB
1600×103785%433 KB
1600×103775%320 KB
1080×70075%136 KB
JPG quality comparison on a real photo from Photo Labo El Mechouar

Three things these numbers show:

  • 95% quality is bigger than the original (1454 KB vs 1238 KB). Re-saving a phone photo at very high quality doesn't compress it, and can even make it larger.
  • Shrinking the dimensions beats lowering the quality: at the same 85% quality, reducing the width to 1600 px took the file from 1081 KB to 433 KB, with no artefacts.
  • 40% quality shrinks the file but ruins detail: in the image above, the letters and faces on the sample board break up. Don't go below 70% unless you must.

Frequently asked questions

Does compressing remove the photo’s hidden data (EXIF)?

Yes. When the tool re-saves an image, hidden data such as the camera model, date and GPS location is not carried over. If you want to check or remove that data without re-compressing, use remove EXIF & location.

Should I choose WebP or JPG?

For your own website or store, WebP usually gives a smaller file at the same quality. For sending to other people, printing shops or official forms, JPG is safer because every program opens it.

Why did a PNG get bigger after compression?

PNG is lossless, so the quality setting does not apply to it. For photos, choose JPG or WebP; keep PNG for logos, screenshots and images that need transparency.

Open the free tool

More guides