Independent service, not a government website.

Aspect ratio mismatch: why a big photo can be the wrong shape

Aspect ratio is the shape of the file: width divided by height. Two photos can both clear a portal's pixel minimum and still be different shapes, and a wrong-shaped file is refused or force-cropped no matter how many pixels it carries. Shape mismatches cause some of the most confusing portal messages, because the error text talks about size when the real problem is proportions. This guide shows the shapes in play and how to fix a mismatch without distorting the photo.

One person, four shapes

A single US applicant can legitimately need three different shapes: the square 600 x 600 DS-160 visa photo (1:1), the printed 2 x 2 inch passport photo (also 1:1), and the online renewal upload, which wants a taller portrait with space around the head; we render it at 1200 x 1800, a 2:3 portrait. Upload the square visa file to the renewal portal and the response is 'photo isn't big enough', even at 1200 x 1200; the file is big, but it is the wrong shape to leave cropping room. Our help entry documents that exact message.

Across countries the shapes multiply: the UK's 600 x 750 minimum implies 4:5 for the digital passport photo, most of Europe prints 35 x 45 mm (7:9), and China's 33 x 48 mm for the Chinese passport is narrower than either, so a 35 x 45 crop reused for China is refused or re-cut.

Crop, never stretch

There are two ways to change a file's shape and only one of them is legal. Cropping removes rows or columns of pixels and keeps the face true. Stretching or squashing resamples the whole image to the new shape, visibly distorting the face, and lands squarely inside every 'unaltered photo' rule; the person in a stretched file no longer matches the person in front of the officer. If a crop to the right shape would cut into the head or chin, the original was framed too tight: re-shoot from further back rather than stretching, as the phone camera guide shows.

How our files avoid the problem

Each document in our dataset stores its print size and its upload size, and our data validation requires the two to agree in shape to within one percent, so the file you download for a document is always the shape that document's portal expects. The crop is computed from the face landmarks against the document's own geometry, so switching documents re-crops the same photo to the new shape instead of reusing the old crop.

Diagnosing a shape problem

When a portal complains about size and the pixels look fine, check the shape.

  1. 1.Read the file's width and height from its properties and divide them.
  2. 2.Compute the document's expected ratio from its requirements page: stated pixels, or print millimetres, give the same shape.
  3. 3.If the two ratios differ, crop to the document's shape from the original photo, then resize to the stated pixels in one step.
  4. 4.Confirm the kilobytes still fit the portal's limit after re-saving, per the file size guide.

Frequently asked questions

The portal cropped my photo itself. Is that a problem?

Usually no: portals like the UK's and Ireland's crop uploads deliberately and say so. The failures happen when a file is already tightly cropped and the portal's own crop then has no room, which is why those authorities ask for head, shoulders and upper body in frame.

Related documents

Free tools

Sources

Last updated

We are an independent service, not a government website. Applying for a passport or visa is done with your government; we only prepare the photo.