How to Resize a Photo for Online Applications

Read every requirement first, then work in order: convert to JPG, crop to the required shape, resize to the exact pixels, and set the JPG quality to land inside the file size range. Our measurements below show which quality hits common ranges, and why a plain background makes it easier.

Read the requirements first

Most upload rejections happen because a photo meets one rule and breaks another. Before editing, write down every requirement the form lists. They usually come in five types:

RequirementTypical wordingWhat it controls
Dimensions"600 × 600 pixels", "minimum 413 × 531"Width and height in pixels
File size"between 20 KB and 50 KB", "under 200 KB"Mostly the JPG quality setting
Format"JPG/JPEG only"The file type; HEIC and WebP often fail
Shape"square", "35 × 45 mm"The aspect ratio, set by cropping
Content"plain light background", "face 70–80% of height"How the photo was taken and cropped

Requirements differ between countries, agencies and exam boards, and they change. Always follow the official instructions for the form you're filling in; this guide explains how to meet them, not what they are.

Converting millimetres and DPI to pixels

Some forms give a printed size and a resolution instead of pixels. Convert with: pixels = millimetres ÷ 25.4 × DPI (or inches × DPI).

Printed sizeAt 300 DPIAt 600 DPI
35 × 45 mm413 × 531 px827 × 1063 px
2 × 2 inches (51 × 51 mm)600 × 600 px1200 × 1200 px
40 × 50 mm472 × 591 px945 × 1181 px

The DPI value stored inside a file is just a label; what decides sharpness is the pixel count. A 600 × 600 px photo is the same image whether the file says 72 or 300 DPI. A few systems check that label anyway. Browser-based tools, including ours, don't let you set it, so if a form rejects a correctly sized photo "because of DPI", open it in a desktop editor and set the resolution field without resampling.

Step by step

  1. Start from the original photo, not a screenshot or a copy sent through a chat app, which may already be compressed and resized.
  2. Convert iPhone photos to JPG if they're HEIC, with HEIC to JPG. See why forms reject HEIC.
  3. Crop to the required shape in your phone's photo editor: choose a square crop for 1:1, or a custom ratio such as 7:9 for 35 × 45 mm. Position the face according to the instructions. The Image Resizer resizes but doesn't crop, so this step comes first.
  4. Resize to the exact pixel size with the Image Resizer, keeping the aspect ratio on. If the crop was exact, the height will fill in to match.
  5. Choose JPG and set the quality to meet the file size range (see the table below).
  6. Check the result: the new size shown by the tool, the dimensions, and the photo itself at full size.

Hitting a file size range: measured examples

File size depends mostly on quality and on what's in the photo. We cropped two real photos to common form sizes in Chrome, using the same canvas method as the Image Resizer, and saved them as JPG. Sizes in KB:

Photo and sizeq92q80q70q60q50
Plain background, 600 × 60063.739.030.425.121.7
Plain background, 413 × 53142.225.720.016.514.3
Plain background, 300 × 30021.713.711.09.48.3
Busy background, 600 × 600147.696.878.266.157.9
Busy background, 413 × 531103.467.454.245.639.8

Two lessons:

  • A plain background matters for size, not just the rules. At 600 × 600, the busy photo was more than twice the size of the plain one at every quality. With a plain background, a "20–50 KB" range was met at quality 60–80; with a busy one, not even quality 50 got under 50 KB.
  • Minimum sizes exist too. If a form requires "at least 20 KB" and your photo comes out at 14 KB, raise the quality. Don't enlarge the dimensions beyond what the form asks for.

Why uploads get rejected

Error or symptomLikely causeFix
"Invalid file type"HEIC, WebP or PNG instead of JPGConvert to JPG; renaming the file isn't enough
"File too large"Quality too high, or dimensions larger than requiredResize to the exact dimensions, then lower quality in steps of 10
"File too small"Quality too lowRaise quality
"Invalid dimensions"Off by a few pixels, or wrong orientationCheck width and height in the tool's result
Photo looks stretchedAspect ratio lock was off without croppingCrop to the shape first, then resize with the lock on
Rejected after reviewBackground, lighting, glasses or face positionRetake the photo following the official rules

Some systems count 1 KB as 1,000 bytes and others as 1,024. If you're right at a limit, leave about a 5% margin: aim for 47 KB when the maximum is 50 KB, and 21 KB when the minimum is 20 KB.

Signatures and document scans

Many forms also ask for a scanned signature or document. The same method applies, with two differences: crop tightly so the signature fills the frame, and keep the quality a little higher (75–85), because thin dark lines on white show compression artifacts sooner than a face does.

Frequently asked questions

How do I make a photo exactly 600 × 600 pixels?

Crop it to a square in your phone's photo editor, then open it in the Image Resizer, set the width to 600 with the aspect ratio locked, and the height becomes 600 too.

How do I convert 35 × 45 mm to pixels?

Divide by 25.4 and multiply by the DPI. At 300 DPI, 35 × 45 mm is 413 × 531 pixels.

Why is my photo still too big after resizing?

Dimensions set the number of pixels, but quality decides how many bytes each takes. Lower the JPG quality in steps of 10 and check the size each time.

Is it safe to resize an ID photo online?

The Image Resizer and HEIC to JPG converter process the photo in your browser, so it isn't uploaded to Utivaro. Only the form you submit to receives it.

Related

Sources