PassportPhotoSizes

Uploading a Photo to an Online Application

By PassportPhotoSizes Editorial · Reviewed · 3 min read

An uploaded photo passes through an automated checker before a person sees it, and that checker tests things the printed specification does not mention. A photo that a counter clerk would accept can be refused in seconds by a validator.

What the validator tests

Dimensions in pixels. Below the minimum is refused outright.

File size. Both a floor and a ceiling. Too small suggests it has been compressed to the point of losing detail; too large will not upload.

Format. JPEG almost everywhere. PNG is sometimes accepted, HEIC almost never — which matters because HEIC is the iPhone default.

Head position and size. The checker locates the face and measures it. This is the same head height requirement as a printed photo, tested mechanically rather than by eye.

Background uniformity. It samples the corners and edges and looks for variation. A faint shadow that a person would pass can fail this.

Sharpness and exposure. Measured, with a threshold.

Requirement US UK
Minimum pixels 600 x 600 600 x 750
Format JPEG JPEG
Maximum file size 10 MB 10 MB
Minimum file size 54 KB 50 KB
Colour 24-bit colour 24-bit colour

The HEIC problem

An iPhone saves photos as HEIC by default. Passport systems want JPEG, and the upload simply fails with an unhelpful message.

Two fixes. Change the camera setting to "Most Compatible" before taking the photo, which produces JPEGs directly. Or convert afterwards — sharing the photo through almost any app converts it, which is why a photo that failed to upload from the Photos library sometimes works after being emailed to yourself.

Why resaving damages a photo

JPEG discards information every time it is saved. Editing and resaving repeatedly compounds this, and the checker can detect the result as insufficient detail even though the photo looks fine at normal size.

Work from the original, make all the changes in one pass, and save once. If you have already been through several rounds of editing, going back to the camera original and redoing the crop produces a measurably better file than continuing to edit the edited version.

When the photo is fine and it still fails

Two causes account for most of these.

Head height slightly outside the range. The validator is measuring to the millimetre where a person estimates. Being 1 mm outside is invisible to you and decisive to it. Head height covers the ranges.

Background not quite uniform. Standing too close to the wall produces a shadow gradient too subtle to notice on screen and obvious to something sampling pixel values. Standing a metre back removes it, as lighting at home sets out.

Keep the original

Whatever the outcome, keep the full-resolution photograph. Every retry, every other country's specification and every printed copy comes from it, and an upload that has been cropped, compressed and resaved is the worst possible starting point for a second attempt.

Screenshots do not work

Taking a screenshot of a photo to get around a format or size limit produces a file at the screen's resolution rather than the photograph's — typically far below the minimum, and compressed on top. Validators refuse these consistently.

The same applies to photographing a printed photo with a phone. It introduces a colour cast from the room light, a reflection from the paper, and a second round of detail loss. If you need a digital version of a printed photo, scan it flat at 600 DPI or higher.

Where the error message misleads

Upload validators generally report the first problem they find and stop, which means a photo can be refused for file size, fixed, and then refused for head position, fixed, and then refused for background. Each round feels like a new problem and is really the checker working through a list.

The efficient approach is to satisfy all of them before the first attempt: correct pixels, correct format, correct crop, uniform background. Checking those four takes a couple of minutes and saves several rounds of guessing what the message meant.

Countries referenced

Keep reading