DIY ID Photos: Size, Background Color and Swapping at Home
ID photo requirements are rigid: white/blue/red background, exact pixel and millimeter sizes. What a photo studio charges for is essentially cropping plus background swap. This guide reproduces it at home with local image tools — photos never leave your machine.
Spec first: check the standard before touching the photo
Requirements differ per document: common one-inch is 295×413 pixels (25×35 mm), two-inch is 413×579 pixels (35×49 mm), and visa photos follow each country’s own standard (US visa 600×600, Japan 45×45 mm). Confirm the official spec of your target document first — do not crop from memory.
A spec covers three things: pixel size, millimeter size (for printing), and background color. Wrong pixels fail upload checks, wrong millimeters print at the wrong ratio, wrong background fails on sight. All three must match.
The source photo requirements also come from the standard: front-facing, ears visible, no hat, shot against a plain light background. Shoot a vertical half-body with the head centered and room above the shoulders — cropping space is created at shooting time.
Crop and resize: composition first, pixels second
Use the crop tool to establish composition: eyes around three-fifths to two-thirds of the frame height, a little air above the head. ID photo framing is strict — features centered, nothing off-axis.
Then use the resize tool to hit the pixel target: 295×413 for one-inch, 413×579 for two-inch. Keep the aspect locked: align one side, crop to complete the other.
Export as JPG at around 0.9 quality. Review systems also cap file size (commonly 30–100 KB), so choose the highest JPG quality that fits the size limit — lossless PNG usually overshoots.
Background swap: cutout plus solid color, all local
The method is cutout-then-fill: use the background-removal tool to separate the subject into a transparent PNG, then place it on a solid-color canvas. Cutout quality determines swap quality; portrait-specialist models handle the “front-facing half-body on plain background” case very well.
Reference background values: white RGB(255,255,255), blue near RGB(67,142,219), red near RGB(255,0,0). Requirements vary slightly between institutions — with an explicit spec, use their numbers.
The usual artifact is fringing around hair: light halos or background remnants at the edge. Mild fringing usually passes review; obvious breakage means re-cutting or re-shooting. Do not paint over stray hairs with the background color — review systems are sharper than you think.
Print and submit: the last mile
For online submission, deliver JPGs matching the system’s pixel and size requirements. For printing, lay out the photo by millimeter spec on 6-inch paper (eight one-inch photos fit per sheet) and have it printed at a shop.
Electronic and printed versions are two deliverables: pixels for the former, millimeters for the latter. Where an institution requires “same photo as uploaded”, print from the identical source image — do not crop two versions.
Home-made ID photos are perfectly legitimate — meeting spec is the only requirement; no rule mandates a studio. One caution: for high-scrutiny documents like visas or exam registration, leave time for one redo.