Why an Image Sometimes Gets Larger After Compression
Quick answer
Re-encoding an image doesn't always remove bytes. Three common reasons it grows:
Why it happens
- 1Already optimized. If a file was already compressed, encoding it again mostly adds overhead. The encoder starts from scratch, rebuilds every block, and has no way of knowing the previous encoder already made the same decisions.
- 2Lossless PNG. PNG can't throw away detail, so a photographic PNG often gets bigger, not smaller — convert it to JPG or WebP instead. Sensor noise defeats PNG's pattern-finding completely.
- 3Quality set too high. Saving a JPG/WebP at near-100% quality can exceed the original's size, because the new encoder is asked to preserve more than the source ever contained.
A worked example
Take a 2.8 MB JPG straight from a phone. Camera apps already save at a fairly high quality, so dropping it into Image Compressor on the Best qualitypreset (92%) can produce a 3.1 MB file: higher than the camera's own setting, with nothing gained. The compressor notices, keeps your original and labels the row "kept original (compression didn't help)". Switch to Balanced(75%) and the same photo commonly lands well under half its starting size, because 75% is below the point where the camera encoded it and the encoder finally has something to discard.
The PNG case is more dramatic. A 4000 × 3000 photo exported as PNG by a screenshot or editing app can weigh 14 MB, and re-encoding it as PNG leaves it at 14 MB or nudges it higher. The compressor keeps the format on purpose, so the fix is a conversion: the same picture as JPG at 80% is typically under 2 MB, and WebP smaller again.
The quality slider is not a size slider
A quality of 75% does not mean 75% of the bytes. The relationship is steeply non-linear: the step from 100% to 90% can halve a file, while the step from 75% to 60% might only shave off a fifth, and visible artefacts grow faster at the low end than savings do. If you need a guaranteed number — a form that insists on 500 KB, say — the compress-to-target tools search the quality range automatically until the output fits, instead of guessing.
When pixels, not quality, are the problem
File size scales with the number of pixels far more reliably than with the quality setting. Halving both the width and the height of a 4032 × 3024 photo leaves 2016 × 1512 — one quarter of the pixels, and roughly a quarter of the bytes at the same quality. For anything viewed on a screen, 1920 pixels on the long edge is more than most displays can show, which is why Image Studio's fit within resize mode is usually a bigger win than any slider. It never enlarges a smaller image, so there is no risk of the opposite problem.
Two deliberate exceptions. If you untick that option, the compressor still hands you the larger file but flags it as larger than the original rather than reporting a saving. And Remove Image Metadata never keeps the original at all, because the original is the file that still contains the metadata; it re-encodes at 95% quality and accepts a slightly bigger output as the cost of a clean one.
Compress an image — Try it — the original is kept if it can't be beaten.Troubleshooting
- My PNG got bigger.
- Convert the photo to JPG or WebP in Image Studio.
- Barely any reduction.
- The file is likely already optimized. Lower the quality a little, or resize the dimensions.
- WebP came out larger than my JPG.
- On very small or very simple images the container overhead dominates and the lossy gains disappear. Keep the JPG, or try lossless WebP for flat graphics.
- A tiny thumbnail grew after compression.
- Below a few kilobytes the file is mostly headers, not pixels. Re-encoding can only add to them; leave such files alone.
Sources
- Image file type and format guide — MDN Web Docs (Mozilla) · verified 2026-06-19
- Portable Network Graphics (PNG) Specification — W3C · verified 2026-06-19
Last verified · reviewed rarely.
Change history
- — Initial publication.