How to compress images without losing quality
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.
- Websites and blogs: 1600–2000 px wide.
- Thumbnails and product photos: 800–1200 px.
- Printing: do not resize; keep the original.
2. Pick the right format
- JPG: the most compatible format, ideal for photographs.
- WebP: typically 25–35% smaller than JPG at similar quality and supported by every modern browser. Great for websites and shops.
- PNG: lossless, so photos become large. Use it only for logos, screenshots and images that need transparency.
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
- Open the compress & convert tool and drag your images in or click to choose them. You can select several at once.
- Enter a maximum width in pixels (for example 2000), or 0 to keep the original size.
- Choose the format (JPG or WebP) and set quality to 80%.
- 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
- Compressing the same image again and again: every JPG save loses a little detail. Always start from the original.
- Converting to PNG to “improve” quality: it cannot bring back lost detail; it only makes the file bigger.
- Deleting the original: always keep a full-size copy in case you need to print later.
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%.

| Photo | Before | After | Saved |
|---|---|---|---|
| Tiznit wall and spring (stone, water and moss: lots of detail) | 685 KB | 505 KB | about 26% |
| Product on a white background | 158 KB | 50 KB | about 68% |
| Portrait | 90 KB | 50 KB | about 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?
| Use | Width | Typical file size |
|---|---|---|
| Blog or article image | 1600–2000 px | 150–400 KB |
| Online store product photo | 1000–1200 px | 60–200 KB |
| Sending by email or WhatsApp | 1600 px | 200–500 KB |
| Official form with a size limit | as required | use resize to KB |
| Printing | keep the original | do 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:
| Dimensions | JPG quality | File size |
|---|---|---|
| 2576×1670 | 95% | 1454 KB |
| 2576×1670 | 85% | 1081 KB |
| 2576×1670 | 75% | 741 KB |
| 2576×1670 | 40% | 428 KB |
| 1600×1037 | 85% | 433 KB |
| 1600×1037 | 75% | 320 KB |
| 1080×700 | 75% | 136 KB |

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.