Crop to ID-photo proportions (3.5×4.5) and set the exact pixel size — check the official rules

Choose "ID photo (3.5×4.5)" under the crop ratio in Refine to get a box with a 3.5:4.5 width-to-height ratio, then use "Exact" under Size to enter the required pixels. The tool handles ratio, dimensions, file size and background compositing; it does not check face position or compliance. Read the destination's rules before you start.

Passports, ID cards, CVs, student cards, exam registrations: many places ask for an ID photo and every one has its own rules. Some state them in print terms, such as "3.5×4.5 cm, white background, taken within 6 months"; online portals state them in file terms, such as "at least 300 pixels wide, under 200 KB, JPG". Connecting those two kinds of requirement is the point of this guide.

One thing should be clear first. This is not a photo editor; it changes ratio, dimensions, file size and format. It does not find a face and centre it, measure whether head size falls within a regulation range, or judge expression, shadows or glare on glasses. That compliance judgement has to come from the destination's instructions and your own eyes. What it does do, quickly and inside the browser, is crop to the exact ratio, resize to the required pixels, stay under a file size limit, and composite a removed background onto white.

How to use

  1. Check the destination's rules and write down four things: the ratio or cm size, the pixel dimensions (minimum and maximum), the file size limit, and the accepted format (usually JPG).
  2. Add the photo and open Refine (03). Under the crop ratio choose "ID photo (3.5×4.5)". A box with a 3.5:4.5 (7:9) ratio is placed as large as possible in the centre of the photo.
  3. Drag the box so the face sits where the rules require and drag a corner to change its size. The ratio is locked and cannot be broken. Touch and arrow keys work too, and "Centre" aligns the box in the middle.
  4. If the background is not white, open "Remove background", tap the person to keep them and finish. With JPG as the format, the removed area is filled with the "JPG background colour" (white, #ffffff, by default).
  5. Under Size choose "Exact" and enter the required pixels. With "Lock ratio" on, typing the width calculates the height at 3.5:4.5 automatically; for example width 413 gives height 531.
  6. If there is a file size limit, switch the reduce mode to "Target size" and enter the KB value. Without a limit, "Keep high quality" is the better choice. Keep the format on JPG, check the width × height and size in the result, then download.

Start with these settings →

Converting cm requirements to pixels

To turn a print requirement in cm into pixels for an online form you need a resolution (DPI). One inch is 2.54 cm, so pixels = cm ÷ 2.54 × DPI. At 300 DPI, 3.5×4.5 cm is about 413×531 pixels; at 600 DPI it is about 827×1063. If the destination states pixel dimensions explicitly, use those. If it only gives cm, enter the 300 DPI value and confirm with the office concerned.

This tool never enlarges beyond the original. If the cropped area is smaller than the required pixels, the result stays at that size and the width × height will differ from what you typed. In that case use an original taken closer to the subject or make the crop box larger. Phone originals are usually more than 3,000 pixels tall, so even a crop around the face often meets the 600 DPI figure.

Two ways to get a white background

If the background is a plain wall, "Auto-remove edge background" in the eraser is fastest. It takes the most common colour along the photo's border as the background and erases similar colours spreading inwards. If the wall is close in colour to clothing or hair, the erased area can spill over; bring it back with the "Restore brush".

If the background is busy, use "Tap to keep with AI" and tap the person. A model running on your device finds the tapped subject and keeps it; tap again on parts it missed, such as shoulders or hair, and the areas are merged. After finishing, leaving the format on JPG composites the transparent area onto the background colour, and the colour input lets you choose something other than white if the rules ask for blue or grey. Shadows from uneven daylight or stray hair may not disappear completely, so zoom in on the result.

Common mistakes and fixes

  • Setting the ratio but not the pixels: cropping alone leaves the result at the original pixel count of the cropped area. Enter the required pixels under "Exact".
  • Turning off "Lock ratio" under Exact and typing arbitrary width and height: with the lock off the photo is stretched or squashed. For ID photos always keep the lock on and fix the ratio in the crop instead.
  • Watching the KB and missing the pixels: Target size may shrink dimensions by 0.85 at a time to reach the KB value. Make sure the width × height in the result card still meets the minimum; if not, raise the target KB or keep the Exact size and adjust quality manually.
  • Submitting a transparent PNG: most portals require JPG and cannot handle transparency. If you removed the background, save as JPG so you get the result composited onto white.
  • Assuming the tool guarantees compliance: it does not. Head size, eye position, margins, expression and lighting must be judged against the destination's instructions by you. For strictly reviewed uses such as passports, a photo studio is recommended.

When a photo studio is the better choice

If the rules specify head height and eye position in millimetres and a rejection is costly (passports, visas), if lighting and background must be perfectly even, or if you need the printed photo itself, a studio is the safe option. For CVs, company intranets, course registrations and online exams, where only the ratio and file conditions matter, a phone photo taken straight-on in front of a bright wall and finished with this tool is often enough. As a middle path, the same steps work for reducing a studio's digital original to a portal's pixel and KB requirements.

Frequently asked questions

Can I use a ratio other than 3.5×4.5, such as 2×2 inches?

The only ID preset is 3.5:4.5. For other ratios use the nearest preset, such as "1:1" for 2×2-inch square formats or "3:4", or choose "Free" and drag the corners yourself. A free ratio is not locked, so confirm it from the width × height of the result.

Can I make photos of several people to the same specification at once?

Use "Apply the same crop ratio to all photos" for the ratio; size, format and target size are shared settings, so everything is processed together. The box position (face position) still has to be adjusted on each photo.

Is DPI written into the file?

No. The result contains only pixel data; no DPI or EXIF metadata is written. If a print shop needs a cm size, tell them the pixel dimensions and the cm size you want together.