✳ Pocket PDF Notes

Tests

Resize first, compress second: 1,671 KB vs 188 KB

Short version

Removing pixels you will never display is cheaper than spending quality on them. Our 3200×2400 photo was 1,671 KB as JPEG quality 85, but 188 KB after resizing to 1600 pixels and exporting at the same quality. Resize to the display size first, then compress only if the file is still too large.

There are two ways to make an image smaller: remove pixels, or spend quality. The first is usually cheaper.

The measured result

One photo, PNG original and smaller JPEG export
One photo, PNG original and smaller JPEG export

All figures come from our own photo test on a synthetic 3200×2400 image.

VersionMeasured size
Source PNG, 3200×240016,917 KB
JPEG, quality 85, full size1,671 KB
JPEG, quality 70, full size776 KB
JPEG, quality 55, full size471 KB
Resized to 1600 px, JPEG quality 85188 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.

An 800×600 version of a different photo-like sample went from 1,058 KB as PNG to 105 KB as JPEG at quality 85 - the same pattern at a smaller size.

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.
  • Batch of mixed images: resize by longest edge, then apply one moderate quality setting and inspect the smallest file.

The image resizer and image compressor both run in the browser.

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.

Frequently asked questions

Why is resizing better than lowering quality?

Quality reduction discards detail across the whole image. Resizing removes pixels that would never be displayed, so the remaining detail is kept at a higher quality setting.

Does resizing always look the same?

Only when the destination is smaller than the resized image. If the image will be viewed at full size or zoomed, resizing too far loses real detail.

Can I do both?

Yes. Resize to the largest size the destination needs, then compress only if the result is still too heavy.

About the author

Awais Saleem builds Pocket PDF, a privacy-first collection of browser-based file tools. He writes about file formats, browser APIs and the practical limits of local processing.

Pocket PDF ↗ · Disclosure ↗