Skip to content

File sizes

The minimum file size problem nobody warns you about

You compressed harder each time and it kept failing. That is because the limit you were breaking was the lower one.

Updated 2026-08-16 · 7 min read

Everyone knows a file can be too big for an upload form. Almost nobody knows it can be too small, and that asymmetry produces one of the most maddening failure loops on the internet.

You upload a photo. Rejected. You compress it. Rejected. You compress it harder. Rejected. By the fourth attempt your passport photo is an 8 KB smear of grey rectangles, and it is still being refused, because every step you took moved you further from the requirement, not closer to it.

Which portals enforce a minimum

More than you would think, and they include some of the highest-traffic forms in existence:

PortalSize window
US online passport renewal54 KB – 10 MB
China visa (COVA)40 KB – 120 KB
Canada IRCC60 KB – 240 KB
UK passport (digital)50 KB – 10 MB
SSC exams (photo)20 KB – 50 KB
SSC / IBPS (signature)10 KB – 20 KB

Note how tight some of those windows are. China's COVA gives you a 3× range. SSC signatures give you 2×. There is very little room to be casual.

Why a minimum exists at all

It is a crude quality check. The reasoning is that a photo compressed to 6 KB is almost certainly unusable, blocky, unclear, useless for identity verification. Rather than analysing image quality, which is hard, the portal uses file size as a proxy, which is easy.

It is a blunt instrument and it produces false negatives, but you can see the logic. The problem is that the rule is rarely stated as prominently as the maximum, so users only encounter it by failing.

Why your file is too small

Three situations account for nearly all of it:

You over-compressed

The most common. Having been rejected once for size, you assumed smaller was safer and kept going. The fix is simply to compress less, but you need to know both bounds to know where to stop.

The image is genuinely simple

This one is not your fault at all. A signature is black ink on white paper: two colours, large flat areas, almost nothing for the encoder to describe. Cropped correctly and sized to 140 × 60 pixels, it can compress to 4 KB at maximum quality. There is no quality setting that will make it bigger, because there is no more detail to preserve.

The same happens with photos against a plain white background, precisely what these forms ask for. Following the composition rules well can push you below the size floor.

The dimensions are tiny

If a spec demands exactly 140 × 60 pixels, that is 8,400 pixels total. Even stored completely uncompressed at 3 bytes per pixel it would be 25 KB, and JPEG will get it far below that. Small dimensions and a size floor pull in opposite directions.

How to make a file bigger, properly

Options, in order of preference:

1. Raise the quality

The obvious first move. If you compressed to 30% quality, go back to 90%. This works whenever you had over-compressed, and costs nothing.

2. Increase the dimensions

Only if the spec allows a range. If it asks for 600 × 600 to 1200 × 1200, moving up to 1200 × 1200 multiplies the pixel count by four and the file size with it. If the spec fixes the dimensions exactly, this is not available.

3. Pad the file

When the dimensions are locked and the quality is already at maximum, there is nothing left to do to the image. The correct answer is to grow the container instead.

Both JPEG and PNG define metadata blocks that every decoder skips, JPEG has comment segments, PNG has text chunks. Inserting one of the required length makes the file exactly as large as the portal wants while leaving every pixel untouched. The file remains completely valid; it simply carries a harmless block of padding.

This is the technically correct solution to an artificial constraint, and it is what our image compressor and signature tool do automatically when you set a minimum size. As far as we can tell, no other free tool handles this at all.

What not to do

  • Do not upscale a small image to inflate it. Enlarging invents detail that was never captured, producing a soft, obviously interpolated photo. You may clear the size floor and fail the quality check instead.
  • Do not add visible noise. Grain does increase file size, and it also makes your photo look like a bad scan.
  • Do not switch to PNG just to inflate the file. If the spec says JPEG, a PNG will be rejected on format regardless of size.

Checking before you submit

Before uploading anything to a portal with a size window:

  1. Find both numbers in the official guidance, not just the maximum.
  2. Check the actual byte count of your downloaded file in your file manager.
  3. Confirm it sits inside the window with a little room at both ends.

Our requirements database flags every entry that has a minimum, and the tools target the whole window rather than just the ceiling. If you have been stuck in the compress-and-retry loop, this is very likely why.

Keep reading