There are two ways to make an image smaller: remove pixels, or spend quality. The first is usually cheaper.
The measured result
All figures come from our own photo test on a synthetic 3200×2400 image.
| Version | Measured size |
|---|---|
| Source PNG, 3200×2400 | 16,917 KB |
| JPEG, quality 85, full size | 1,671 KB |
| JPEG, quality 70, full size | 776 KB |
| JPEG, quality 55, full size | 471 KB |
| Resized to 1600 px, JPEG quality 85 | 188 KB |
The resized export is smaller than the aggressive quality-55 export, and it uses quality 85. The pixels that were removed were ones the destination would never display.
Why this happens
A 3200-pixel-wide photo carries four times the pixels of a 1600-pixel-wide one. If the image will be shown 800 pixels wide on a page or inside a document, most of those pixels are thrown away by the viewer anyway.
Compression, by contrast, works across the whole image. Lowering quality to 55 affects every edge, texture and gradient, including the parts you do display. Resizing spends nothing on pixels that were never needed.
Who should use what
- Image going into a document, form or web page: resize to the largest size it will be displayed at, then compress only if the file is still too big.
- Image that may be zoomed or printed: keep more pixels. Print needs far more than a screen thumbnail.
- Archive copy: keep the original. Resize a copy, not the only file.
Limits
This is one synthetic image, one encoder path and a few settings. Exact numbers will differ for photographs with more noise or images with transparency. The ordering advice is the reproducible part: removing unneeded pixels beats destroying needed detail.
Disclosure: Some AI assistance was used in preparing this article.
Originally published at https://pocketpdf-notes.pages.dev/resize-first-compress-second/
Top comments (1)
Resizing does most of the heavy lifting here. Compression is the finishing step, not a substitute for removing pixels nobody will ever see.