Resize ID photos to official specs online: 1-inch, 2-inch, passport and visa sizes with background change. Processed locally, never uploaded.
TL;DR: Free ID photo resizer: crop and resize to official specs (1-inch, passport, visa) with background change, processed locally.
For local tools, open DevTools → Network and search your input — it should not appear in requests.
Usage Guide
Job portals want one-inch, passports want two-inch, visas each ship their own pixel grid — resizing by hand wastes evenings. This tool combines optional MediaPipe portrait segmentation with cover-crop resize to built-in PHOTO_SIZES specs (Chinese standards such as 一寸/二寸/护照/身份证 and many visa sizes with mm hints on the buttons). Pick background color or skip cutout, nudge vertical framing, export JPG or PNG, and read pixels · approximate DPI · KB in the result strip. Everything runs locally; photos are not uploaded.
1. Produce a standards-sized photo
Default export leans JPG because most registration portals reject PNG silently or rename-reject. JPEG quality defaults near 0.92; lower it when a ~200KB ceiling appears in the instructions. PNG remains available for lossless handoff into print-layout or further editing.
- Upload a frontal portrait. Plain backgrounds segment more reliably; convert HEIC to JPG first if the browser cannot decode the phone format.
- Select a target spec — buttons show name, pixels, and millimeter hints. Deep links from the size guide (?spec=) preselect the same PHOTO_SIZES entry so you do not guess which row matches the form.
- Choose background (or enable Skip cutout when the background is already correct), adjust the vertical nudge if headroom is tight, set JPG/PNG and JPEG quality, then export and read the result strip.
2. Cover crop and vertical nudge — no stretch
The crop locks to the target aspect ratio and never stretches the face. Framing starts centered; use the vertical nudge when the crown is clipped or the chin sits too high. If the subject hugs the edge of the original frame, recompose or reshoot — forcing a crop from a bad capture still fails portal review even when pixels match. Skip cutout skips the segmenter load and only crops/resizes — faster when the background already matches the requirement.
- Most registration portals ask for JPG; start around 90–92% quality, then lower if the KB strip exceeds the portal limit.
- Process one photo at a time when framing quality matters more than throughput.
- Match the exact PHOTO_SIZES name from the form (for example 申根签证 vs a generic 35×45mm guess).
3. What this page does not certify
Pixel size and a solid background are necessary but not sufficient. Issuing authorities still judge head proportion, expression, attire, glasses glare, and ear visibility. This tool does not replace official acceptance. Use the compliance-check sibling for a local pre-screen of size, brightness, background uniformity, and file-size bands — still advisory, not a government verdict. Dress code and expression remain your checklist, not the exporter’s.
4. Failure samples you can reproduce
- Undersized upload upscaled only by stretch tools elsewhere → soft faces; here we cover-crop to exact pixels from a sharp enough source instead of inventing detail.
- Busy bookshelf background with hair the same color as the wall → ragged masks; reshoot against a plain wall or fix background in the dedicated background tool first.
- Export PNG for a portal that only accepts JPG → upload rejected; switch format here rather than renaming the extension.
- Headroom too tight after crop → nudge vertically; if the slider cannot recover, the source framing is too tight — crop wider in camera.
5. Privacy and local processing
Segmentation uses an on-device model path; your portrait is not sent as upload payload for conversion. First-time model load may download runtime assets that then cache. Shared computers still retain Downloads and blob previews — delete exports you do not need. Do not paste ID photos into public tickets or group chats.
6. Handoff and print next steps
When someone else will submit the file, note the spec name, pixel size, whether cutout was skipped, and JPEG quality. For home printing of multiple copies, use the A4 print-layout sibling after the background and framing look right. Keep the original camera file until the application portal accepts the derivative.
- Confirm result strip pixels match the chosen PHOTO_SIZES row.
- Open the download on a phone screen — desktop zoom lies about skin texture.
- If a portal rejects file size, adjust JPEG quality here or compress without changing crop.
- If background color is wrong, fix it here or in the background tool before print layout.
FAQ
Built-in Chinese standards (1-inch, 2-inch, small/large 1-inch, passport, ID card, license) and visa specs for many countries (US, Japan, Schengen, UK, Canada, Australia, Korea, Thailand, Vietnam, India, Brazil, and more). Buttons show pixels and millimeters side by side, and the size guide can deep-link a preset via ?spec=.
No. It cover-crops to the target ratio with an optional vertical framing nudge and never stretches. When headroom is tight or the chin gets clipped, drag the nudge slider to move the framing window.
JPG by default — most application and visa portals only accept it, and the quality slider keeps size in check. Pick PNG for lossless or transparent workflows. The result strip shows pixels, approximate DPI, and file KB; tick “Skip cutout” when the background is already correct to crop and scale only.
The big three: not enough headroom, resolution below the official requirement, and over-compression blurring the face. Give the export one visual pass against the accepting authority's guidelines — sizes follow the preset you pick, countries may add extra rules, and an off-spec background is best fixed with the background-swap tool first.
No. Cropping, scaling, and the optional cutout all run locally in your browser — the photo never leaves your device.
Related Tools
Related Articles
HEIC to JPG: The Complete Guide — Why Systems Reject iPhone Photos and Three Ways Through
The root cause behind format-not-supported errors on exam registrations, visa uploads and government portals: what HEIC is, why legacy systems only accept JPG, and the trade-offs between capture settings, transfer-time conversion, and after-the-fact conversion — plus orientation, naming, and failure triage.
ID Photo Size Guide: What 1-Inch and 2-Inch Really Mean, Plus Exam Registration Scenarios
The 1-inch 25×35mm vs 2-inch 35×49mm reference with pixel conversions, background-color conventions (white/blue/red) for certificates and exams, and the full workflow from phone photo to compliant ID picture — including JPG export and file-size boundaries.