Compress Images Without Losing Quality: Tested Settings
We tested Quality 90 to 20 on photos, screenshots and graphics. See measured size savings, when PNG barely shrinks, and how the max size setting lowers quality.
"Compress without losing quality" means different things for a holiday photo, a UI screenshot and a logo. To give concrete numbers instead of generic advice, we ran the same codecs that power ConverterTo's Image Compressor โ mozjpeg for JPEG, libwebp for WebP and oxipng for PNG โ on a fixed set of test images and measured file size and visual similarity.
Short version: for JPEG photos, Quality 80 (the default) cut files to about 39% of their original size while keeping a structural similarity (SSIM) of 0.958. Below 60, savings get small and damage gets visible. PNG screenshots and graphics barely shrink with lossless compression; converting them to WebP or JPG is what actually saves space.
How we tested
- Photos: five images from the Kodak Lossless True Color Image Suite (768 ร 512), a standard benchmark set. Each was first saved as a JPEG at quality 95 to simulate a camera or phone original.
- Screenshot: a 2880 ร 1800 Retina-resolution capture of a web page, saved as PNG.
- Graphic: a 1200 ร 630 flat-color social image with text, saved as an 8-bit PNG.
- Quality metric: mean SSIM on luminance, comparing each result with the uncompressed source. 1.000 means identical; values above roughly 0.95 are usually hard to tell apart at normal viewing size.
The pipeline mirrors the tool: decode the image, re-encode it at the chosen quality and, if the result exceeds Max size (MB), lower quality in steps of 10. Your own images will differ, so treat these numbers as a guide, not a guarantee.
JPEG photos: what each Quality setting does
Average over the five photos (original JPEG average: 166 KB):
| Quality | Size vs original | SSIM | What to expect |
|---|---|---|---|
| 90 | 69% | 0.973 | Visually identical; modest saving |
| 80 (default) | 39% | 0.958 | Best balance for sharing and web pages |
| 70 | 27% | 0.942 | Fine for thumbnails and chat apps |
| 60 | 22% | 0.928 | Soft fine texture; blocking in skies may appear |
| 40 | 16% | 0.899 | Visible artifacts around edges |
| 20 | 9% | 0.832 | Obvious blocks and color banding |
Two patterns stand out:
- The biggest saving happens between 90 and 70. Going from 90 to 80 removed 30 percentage points of file size; going from 60 to 40 removed only 6 more while quality dropped faster.
- Detail-heavy images compress less. The photo of a brick wall and wooden door (kodim01) kept 43% of its size at Quality 80, while a photo of two parrots against a smooth background (kodim23) dropped to 35%.
If you need a smaller file than Quality 70 gives you, resize the image first. Halving the width and height leaves a quarter of the pixels, which usually beats pushing quality below 60.
Compressing the same JPEG twice does not help
We compressed a Quality-80 JPEG three more times at Quality 80. The file stayed at 88 KB and SSIM stayed at 0.947 every time. Re-running the same setting neither saves space nor (with mozjpeg at the same quality) adds visible damage โ so if a file is already compressed, lowering quality or reducing dimensions is the only way to make it smaller. Always start from the original when you try a new setting.
WebP photos
WebP input stays WebP. Starting from photos saved as WebP at quality 90:
| Image | Original | Quality 80 | Quality 60 | Quality 40 |
|---|---|---|---|---|
| kodim01 | 134 KB | 92 KB (0.969) | 63 KB (0.947) | 46 KB (0.915) |
| kodim03 | 54 KB | 31 KB (0.958) | 19 KB (0.940) | 14 KB (0.923) |
| kodim05 | 138 KB | 93 KB (0.977) | 66 KB (0.962) | 51 KB (0.942) |
SSIM is in brackets. WebP degrades more gently than JPEG at low settings, so Quality 60 is still a reasonable choice for web images.
PNG screenshots and graphics: why they barely shrink
For PNG (and BMP, which is saved as PNG), the tool keeps every pixel and only changes the oxipng optimisation level. The Quality slider maps to that level: 80 โ level 1, 40 โ level 4, 1 โ level 6.
| Image | Original PNG | Quality 80 | Quality 40 | Quality 1 | As JPG (Q80) | As WebP (Q80) |
|---|---|---|---|---|---|---|
| Screenshot 2880 ร 1800 | 631 KB | 556 KB | 421 KB | 421 KB | 230 KB | 151 KB |
| Graphic 1200 ร 630 | 269 KB | 245 KB | 242 KB | 242 KB | 51 KB | 28 KB |
| Photo saved as PNG | 491 KB | 509 KB | 476 KB | 469 KB | 45 KB | 31 KB |
What this means in practice:
- Lossless PNG compression saved at most 33%. The graphic was already an optimised 8-bit PNG, so there was little left to remove.
- A PNG can get larger. The photo-as-PNG grew from 491 KB to 509 KB at the default setting. If that happens, keep the original.
- Higher levels are much slower. On the 2880 ร 1800 screenshot, level 1 took about 2 seconds, level 4 about 12 seconds and level 6 about 26 seconds on a desktop machine โ with no extra saving beyond level 4. Phones will be slower.
- Format choice matters more than the slider. The same screenshot as WebP was 151 KB, a 76% reduction. Use PNG to WebP or PNG to JPG if the destination accepts those formats and you do not need lossless pixels. JPG has no transparency; transparent areas become white.
How Max size (MB) changes the result
Max size (MB) is a target, not a separate quality mode. For JPEG, WebP and AVIF, the tool encodes at your Quality value, checks the size and, if it is too large, retries at 10 points lower until it fits or reaches 5. A tight target can therefore override a high Quality setting:
| Image | Target | Steps taken | Final SSIM |
|---|---|---|---|
| Photo (kodim01) | 0.05 MB | 80 โ 70 โ 60 โ 50 (44 KB) | 0.882 |
| Photo (kodim01) | 0.03 MB | 80 โ โฆ โ 30 (30 KB) | 0.824 |
| Screenshot as JPEG | 0.1 MB | 80 โ โฆ โ 30 (93 KB) | 0.987 |
The screenshot's SSIM stays high because large flat areas are easy to compress, but small text develops halos at Quality 30. Zoom in on text before you upload. For PNG, the target only raises the optimisation level, so a PNG may still end up above the target.
Recommended settings
| Goal | Format | Settings |
|---|---|---|
| Share photos by email or chat | JPEG | Quality 80, Max size 1 MB |
| Web page hero or blog image | JPEG or WebP | Quality 70โ80, resize to display width first |
| Strict upload limit (e.g. 200 KB form) | JPEG | Quality 80, Max size 0.18 MB, then check text and faces |
| Screenshot with text | PNG โ WebP | Convert to WebP at 80; keep PNG only if pixels must be exact |
| Logo or flat graphic | PNG | Default PNG compression; check that the output is actually smaller |
Troubleshooting
The output is larger than the input. Already optimised files, especially PNGs, may grow after re-encoding. Keep the original, or convert to WebP.
The file is still above Max size. Quality stops at 5 and PNG optimisation stops at level 6. Reduce dimensions with Image Resize, then compress again.
Location and camera data disappeared. The tool re-encodes pixels, so EXIF metadata such as GPS location and camera model is not copied. If you need to remove metadata deliberately, see how to remove EXIF data.
The tab freezes on large PNGs. High PNG levels on large screenshots can take tens of seconds. Use Quality 80 (level 1) or convert to WebP instead.
Transparent areas turned white. That only happens if you convert to JPG. Compressing a PNG or WebP keeps its transparency.
All processing happens in your browser; images are not uploaded to a conversion server. Keep the tab open until downloads finish.
Sources and maintenance
Measurements taken on 2026-11-26 with the @jsquash mozjpeg, libwebp and oxipng builds used by this site. Codec updates can change exact sizes.