Pixel Bench

Dimensions and file size are not the same thing

"Maximum 600 × 600 pixels" and "maximum 200 KB" are two unrelated limits. An image can pass one and fail the other, and the error message rarely tells you which.

What each one measures

Dimensions are how many pixels wide and tall the image is — 4000 × 3000, 600 × 600, 1920 × 1080. This is the size of the grid.

File size is how many bytes the file occupies on disk — 240 KB, 3.7 MB. This is how much space it took to describe that grid.

The relationship between them is loose, because compression sits in between. Two images with identical dimensions can differ in file size by a factor of fifty. A 600 × 600 photograph saved as a high-quality PNG might be 900 KB; the same 600 × 600 image as a moderate JPEG might be 40 KB. Same grid, wildly different files.

Why a small picture can be a big file

File size depends on three things, and dimensions are only one:

  1. How many pixels there are. Doubling both width and height quadruples the pixel count, so this dominates when the difference is large.
  2. How complicated the image is. A photograph of foliage — thousands of tiny distinct details — compresses far worse than a photograph of a clear sky. Compression works by finding predictable patterns, and detail is the absence of prediction.
  3. Which format and quality setting was used. Lossless formats store everything; lossy formats throw away what you are least likely to notice. This routinely makes a ten-fold difference.

This is why "just make it smaller" is ambiguous advice. Smaller in what sense?

Working out which limit you failed

Read the form's wording carefully, because it usually says, just not prominently:

If the form gives no error detail at all, check dimensions first. A byte limit failure is usually reported clearly; a dimension failure is more often silent or vague.

Which lever to pull first

When only the byte count is a problem, reduce quality before you reduce dimensions. At normal viewing sizes a quality reduction is much harder to notice than a resolution reduction, and dropping a JPEG from maximum quality to around 70% commonly halves the file with no visible change.

That ordering is exactly what the compress-to-a-size tool does: it searches for the highest quality that fits your budget and only scales the image down if no quality setting can get there.

When the dimension limit is the problem, resizing is unavoidable — and it will also reduce the file size as a side effect, often dramatically. Halving both width and height removes 75% of the pixels.

The resolution myth

You may see instructions asking for "300 DPI" images. DPI — dots per inch — is a number stored in the file's metadata that says how large the image should be *printed*. It has no effect on the pixels or the file size, and changing it does not make an image sharper.

A 600 × 600 image is 600 × 600 whether it is tagged 72 DPI or 300 DPI. What changes is the physical size it would print at: 600 pixels at 300 DPI is a two-inch square; at 72 DPI it is an eight-inch square. If a print shop asks for 300 DPI at a given physical size, what they actually need is enough pixels — multiply the inches by 300 and supply that many.

Practical numbers

Related