How to get an image under a size limit without wrecking it
There are two ways to make an image smaller, and almost everyone reaches for the worse one first.
Last reviewed
The two levers
A photograph’s file size is governed by two things: how many pixels it has, and how much data the encoder spends describing each one. That is the whole picture. Everything else — the format, the quality slider, the export preset — is a way of adjusting one of those two numbers.
Most software exposes only the second lever. You get a quality slider, you drag it down, the file gets smaller. The pixel count stays exactly where it was, which feels like you are preserving something valuable, and the result is often terrible.
Why the quality slider alone fails
JPEG works by dividing the image into eight-by-eight blocks and describing each one as a combination of frequency patterns. At high quality it keeps a lot of those patterns. As you push quality down it discards more, starting with the fine detail and ending with almost everything except the average brightness of each block.
At that point the blocks stop matching their neighbours and you can see the grid. Skin turns waxy, sky develops faint rectangular banding, and anything with texture — hair, grass, fabric, brick — collapses into smears. This is the characteristic look of an image that has been forced under a limit by quality alone.
The reason it happens is arithmetic. A twelve-megapixel photograph squeezed into 200 kilobytes has roughly 0.13 bits per pixel available. There is no encoder setting that represents a photograph in an eighth of a bit per pixel. The information simply does not fit.
What to give up instead
Halve the width and height and you have a quarter as many pixels. The same 200 kilobytes now buys four times as much data for each one — enough for the encoder to keep real detail rather than approximations. The image is smaller in resolution and dramatically cleaner in appearance.
Whether that is a good trade depends entirely on where the image is going. For something displayed at postage-stamp size in a form, or as a thumbnail, or as an avatar, the resolution you gave up was never going to be visible. For something that will be printed, or displayed full-screen, or zoomed into, it matters a great deal.
The useful rule: decide the largest size the image will actually be seen at, and protect roughly that many pixels. Everything beyond it is budget you can spend on looking good.
The order to do things in
- Crop first. Anything you remove is bytes you do not have to spend. This is the single most effective step and the one people skip.
- Choose the right format. A photograph as a PNG is enormous for no benefit. At tight budgets, WebP carries noticeably more detail than JPEG for the same bytes — if the destination accepts it.
- Then trade resolution against quality. Not one or the other; find the combination that looks best at the size you need.
Things that make it worse
Compressing twice. Taking an already-compressed file and compressing it again encodes the first pass’s artefacts as though they were real detail. The damage compounds and the file barely shrinks. Always start from the original.
Screenshotting the image. A surprisingly common workaround, and it makes things worse in two ways: you capture whatever your screen was showing rather than the original, and most systems save screenshots as PNG, which for a photograph is the largest possible choice.
Guessing repeatedly. Export, check, adjust, export again. Besides being tedious, each attempt that starts from a previous export compounds the loss.
How FileBelow does it
Rather than making you find the right combination by trial and error, FileBelow encodes candidates at several resolutions, each at the highest quality that fits your limit, and compares every one against your original using a structural similarity measure. It returns whichever scored best.
Often that is the full-resolution image — at a generous limit, nothing needs to be given up. At tight limits it is usually a smaller image at a high quality setting, and the result panel tells you exactly which dimensions it chose, so the trade is visible rather than hidden.
Need to actually do this?
The tool takes the limit as its input and works out the rest. Free, no sign-up, and the image never leaves your device.
Open FileBelow