How to Make a Passport or ID Photo at Home
A passport or ID photo is a measurement exercise more than a creative one: exact proportions, a set head size, plain lighting and a plain background. This guide shows how to shoot one at home, crop and size it precisely in Photoyam, and lay out prints, and it is honest about where the official rules, not the Pro editor, have the last word.
Start with the official rules
Every country, and often every document type, has its own specification, and agencies revise them. Before you pick up a camera, open the current photo requirements from the agency that will receive the photo and keep them next to you while you edit. A third-party summary, including this one, can be out of date.
As a worked example, this guide uses the widely published US passport requirements. At the time of writing, the US Department of State asks for a photo that is:
- 2 × 2 inches (51 × 51 mm) when printed, with the head measuring 1 to 1⅜ inches (25 to 35 mm) from the bottom of the chin to the top of the head;
- for digital submission, a square image of at least 600 × 600 pixels, which is the same 2 inches at 300 pixels per inch;
- in color, taken within the last six months, against a plain white or off-white background;
- with a neutral expression or a natural smile, both eyes open, facing the camera, and no glasses;
- not digitally altered or filtered.
Check travel.state.gov for the current version before you submit. Many other countries use a 35 × 45 mm portrait format instead of a square, with their own head-size and background rules; the steps below cover both shapes.
Taking the photo
- Background. Stand about half a meter to a meter in front of a plain white or off-white wall. The gap lets your own shadow fall on the floor instead of the wall behind your head.
- Light. Face a window with soft daylight so both sides of your face are evenly lit. Avoid overhead lights alone: they put shadows under the eyes and nose. Harsh sun gives squinting and hard shadows.
- Camera. Have someone else take it from about 1.2 to 1.5 meters away, with the lens at eye level. Selfies at arm’s length distort facial proportions and are a common reason for rejection. Use the main camera, not the front camera, and turn off portrait or beauty modes.
- Framing. Include your head, shoulders and some space above your head. You will crop in the Pro editor, so extra room is good; a tight shot cannot be fixed.
- Take several. Pick the one with open eyes, a straight head and no hair covering the face.
How size, pixels and ppi relate
A digital image has only pixels; it has no physical size until it is printed. The link between the two is pixels per inch (ppi): inches × ppi = pixels. Photo printing is commonly done at 300 ppi, so a 2-inch photo needs 600 pixels per side, and a 35 × 45 mm photo (about 1.38 × 1.77 in) needs about 413 × 531 pixels. More pixels is fine for printing; fewer will look soft.
Photoyam’s Image Size and Canvas Size dialogs work in pixels, which is exactly what digital submission forms ask for. The Image Size dialog also has a Resolution (pixels/inch) field and a Print size readout in inches and centimeters: set Resolution to 300 and a 600-pixel square reads as 2 inches. Resolution is only a label stored in PNG and JPEG exports; it never changes the pixels. What finally decides the printed size is printing at a known size, as described in the print section.
Step by step in Photoyam
You need a few editor features for this job (straightening, exact resizing and the Info panel), so the steps below use the full editor. If you only want a quick crop, the Crop page works in the page and has Square 1:1 and ID / passport photo 35 × 45 mm presets; its Edit further in the Pro editor button carries the crop over when you need the exact pixel size.
- Open the photo. In the editor, choose File › Open… (Ctrl+O) or drop the photo onto the window, then press C for the Crop tool. The photo stays on your device.
- Straighten the head if needed. If your head is tilted, click Straighten in the options bar and drag a line between the centers of your eyes. The editor rotates the image so that line is level.
- Crop to the exact ratio. For a square format like the US passport, set Ratio to 1:1. Drag the box so your face is centered horizontally and the head fills the required share of the height: for the US, 1 to 1⅜ inches of a 2-inch frame is 50 to 69%. The thirds grid in the box helps you check that the eyes sit level. Click Apply.
- Resize to the required pixels. Open Image › Image Size… (Ctrl+Alt+I), keep Constrain proportions on, and type 600 (or the size your form requires) in Width. Height follows. Leave Resample on Bicubic (smooth), which is best for photos. Setting Resolution (pixels/inch) to 300 makes the Print size line read 2.00 × 2.00 in, a handy double check.
- Check the head size. Open Window › Info, hover over the top of your head and then your chin, and compare the Y values. On a 600-pixel US photo the difference should be between 300 and 413 pixels. If it is not, undo and crop again.
- Export. Use File › Export As › JPG, since most forms ask for JPEG. It opens the Save for Web window with JPEG selected; keep Quality high and check the Estimated size against any file-size limit in the rules before you click Export.
Non-square formats such as 35 × 45 mm
The quickest route to 35 × 45 mm is the Crop page: choose ID / passport photo 35 × 45 mm in the Aspect ratio menu and frame the head. The readout shows the crop’s pixel size and the print size, and a JPG or PNG download carries a print density that makes it come out at exactly 35 × 45 mm; if the crop is smaller than 413 × 531 pixels, the page asks for at least that much for a sharp 300 ppi print. When a form asks for exact pixels instead, click Edit further in the Pro editor. There, Image › Image Size… with the width set to 413 pixels gives a height of 531, which is 35 × 45 mm at 300 ppi.
The editor’s own Crop tool has no 7:9 preset (its Ratio menu stops at 3:4 and 4:5 for portraits), but you can still hit the exact size there in two moves. First crop loosely with Free, leaving a little extra height. Then use Image › Image Size… to set the width to the target (413 pixels) with proportions constrained. Finally open Image › Canvas Size… (Ctrl+Alt+C), type the target height (531), and choose an anchor that trims from the side with more spare room. Canvas Size shrinks the frame without scaling, so the result is exactly the pixel size you typed.
The background question
It is tempting to shoot anywhere and swap the background for white afterward. Be careful: many agencies, including the US Department of State, reject photos that have been digitally altered, and an edited edge around hair is easy to spot. A plain wall with even light gives you a compliant background with no editing at all.
If your wall is off-white with a shadow, and the rules you are following allow background cleanup, the Remove Background tool can place you on pure white. Add the photo and the cut-out runs on your device by itself. Under Background, choose Color and click the white swatch. If a thin halo of the old wall shows around your hair, move Shift edge a pixel or two into the negative; keep Feather low so the outline stays crisp. Save as JPG and download. The result keeps the full size of your original. Do this before the crop and resize steps, and compare the result with the original: the outline of your head and hair must look unchanged.
Printing several on one sheet
A 6 × 4 inch print is cheap at any photo counter, and at 300 ppi it is 1,800 × 1,200 pixels, which holds six 600-pixel squares exactly.
- Enlarge the canvas. With your finished 600 × 600 photo open, choose Image › Canvas Size… (Ctrl+Alt+C), enter 1800 × 1200 and set the anchor to the top-left. Leave Canvas extension color on Transparent for now.
- Add white behind it. Choose Layer › New Fill Layer › Solid Color. A color picker opens, prefilled with the foreground color; pick white, click OK, and drag the fill layer to the bottom of the Layers panel. (Setting the extension color to White in Canvas Size also gives a white sheet, but then the white margin becomes part of the photo layer and travels with every copy you make.)
- Add guides. Use View › New Guide… to place vertical guides at 600 and 1,200 pixels and a horizontal guide at 600, and keep Snap on.
- Duplicate and place. Select the photo layer and press Ctrl+J (Layer › New › Layer via Copy, which copies the whole layer when nothing is selected), or choose Layer › Duplicate Layer. Drag the copy with the Move tool until it snaps into the next cell. Repeat for as many copies as you need.
- Export and print at exact size. Export a high-quality JPG and order a 6 × 4 print. Choose any “no crop” or “fit” option the lab offers so the sheet is not trimmed, then measure one photo with a ruler before cutting.
Six photos edge to edge leave no margin for cutting; if your printer or lab trims the border, place four copies with gaps instead.
Common rejection reasons
- Head too large or too small in the frame. Measure it.
- Shadows on the face or on the wall behind the head.
- Glasses, hats or filters, where the rules forbid them.
- Selfie distortion from a close, wide front camera.
- Visible editing, such as a cut-out edge or smoothed skin.
- Wrong pixel size or file type for an online form.
- Printed at the wrong scale because the lab cropped or resized the sheet.
Try it in Photoyam
Crop to a square or 35 × 45 mm right in the page, then resize to the required pixels and lay out a print sheet in the Pro editor, privately in your browser. Free, no sign-up, and your photo never leaves your device.
FAQ
Will a photo I make at home be accepted?
It can be, if it meets every requirement of the issuing agency. Nobody but that agency can guarantee acceptance. Read its current photo rules, compare your photo against them point by point, and if you are unsure, use a professional service.
Can I replace the background with white?
Many agencies prohibit digitally altered photos, and some reject edited backgrounds. The safest route is to shoot against a plain white or off-white wall so no replacement is needed. If the rules you are following allow it, only clean up the background; never change the outline of your head, hair or face.
What is the right size for a US passport photo?
The printed photo is 2 by 2 inches. For digital submission the State Department has specified a square image of at least 600 by 600 pixels. Requirements change, so confirm the current numbers on travel.state.gov before submitting.
How do I print several photos on one sheet?
Enlarge the canvas to 1,800 by 1,200 pixels, which is a 6 by 4 inch print at 300 pixels per inch, add a white fill layer at the bottom, and duplicate the 600 by 600 photo layer into a grid. Print it at exactly 6 by 4 inches with no cropping or fit-to-page scaling.