Filenary
← Back to all articles

How to Reduce Image Size Without Losing Quality

Published 2026-09-26

When an upload form rejects a photo, the file is usually failing on one of three axes: the dimensions (4000 px wide), the compression level (a raw camera-quality JPEG at 8 MB), or the format (a screenshot saved as PNG at 12 MB). Fix them in that order and you can shrink most images 60-90% before quality is even a topic.

Step 1: match the dimensions to the destination

An image never renders bigger than the space it lands in. Email and chat display widths top out around 1600 px; blog heroes are 1200-1920 px; thumbnails and profile photos need 400-800 px; passport photos are ~600-900 px tall, full stop. A 12 MP phone photo resized to 1600 px loses zero visible detail anywhere outside a print frame — and often shrinks the file 60% before compression starts.

Step 2: compress with a target, not a slider

Modern lossy encoding is a science of diminishing returns: quality 85 vs 100 is often invisible and routinely halves the file; below ~70 on photos, banding and smearing start showing. The right workflow is size-targeted — 'this photo under 200 KB' — because it lets the encoder sweep until it lands just under the cap instead of guessing.

Step 3: switch formats when it's free money

  • PNG photos → JPG or WebP: 5-10× smaller, because PNG is paying lossless tax on photographic noise
  • Screenshots and flat graphics → WebP lossless or PNG-8: text stays razor sharp, file halves
  • JPGs for your own website → WebP: 25-35% savings at the same visible quality
  • BMP/TIFF from old hardware → anything from this century

The budgets worth memorizing: 200 KB is plenty for an emailed photo, 1 MB for a web hero, 20 KB for a profile avatar, 2 MB for a document application upload. An image compressor that respects a chosen cap (and runs entirely inside the browser tab, so sensitive photos never make a round trip to a server) gets every file to those budgets in a single pass.