Getting photos through online form size limits
Why exam and government portals are so fussy, and how to satisfy them without ending up with an unrecognisable photo.
· Tirth Enterprise
Anyone who has filled in an exam application or a KYC form knows the routine. Upload a photo. Rejected: exceeds 50 KB. Try again. Rejected: dimensions too small. Try again. Rejected: file must be JPEG.
The limits are real, they are enforced strictly, and the error messages explain nothing. Here is how to satisfy them on the first attempt.
The usual requirements
- Photograph — 20 to 50 KB, JPEG, often 3.5 × 4.5 cm, sometimes with a minimum pixel size such as 200 × 230
- Signature — 10 to 20 KB, JPEG, commonly a minimum of 140 × 60 pixels
- Thumb impression — 20 to 50 KB
- Certificates and supporting documents — 100 to 500 KB, JPEG or PDF
Requirements vary between portals, so read the instructions page rather than assuming. But the shape is nearly always the same.
Why the limits are so tight
Most of these systems were specified a long time ago, sized for the storage and bandwidth of the era, and never revisited. A portal handling ten million applicants at 50 KB each is budgeting half a terabyte just for photographs. Nobody wants to be the person who raises that number.
The order that works
This is the part most people get wrong. Do it in this sequence:
- Crop first. Frame tightly on head and shoulders. Background pixels consume your byte budget and contribute nothing.
- Resize second. Set the pixel dimensions to just above the portal's minimum. A 4000 px photo crushed into 20 KB looks terrible; a 500 px photo at 20 KB looks fine.
- Compress last. Only now target the KB limit.
Compressing before resizing means compressing data you are about to throw away, then compressing again. Two rounds of loss for no benefit.
Practical tips
Aim under the limit, not at it. If the cap is 50 KB, target 45. Some portals measure slightly differently and a file at 50,001 bytes fails.
Scan signatures in grayscale. Colour information on black ink is wasted bytes. This alone can halve the file.
Use a plain background. Flat white compresses to almost nothing. A patterned wall behind you eats your entire budget.
Keep the original. You will probably need a different size for the next form.
Tools for each step
Invo has one for each stage: crop, resize, and compress to an exact KB target. For the two most common documents, the passport photo maker and the signature cropper handle all three steps in one pass.
All of it runs in your browser. Given these files are identity documents, that is worth something.