Passport size photo in GIMP is straightforward when you set the 35×45 mm frame, 300 DPI and print layout before editing. This guide gives you the full workflow for a cyber cafe or home PC, including background cleanup, an A4 sheet of eight copies and a quicker counter alternative.
Check the size before opening GIMP
For this guide, 35×45 mm means 35 mm wide and 45 mm high. At 300 pixels per inch (PPI), that is approximately 413×531 pixels. Use the portal’s own pixel, file-size and background instructions if they are different.
The official GIMP 3.0 manual explains the difference between changing pixel dimensions and changing print size. That distinction matters: a file can look correct on screen but print at the wrong physical size if the resolution or printer scaling is wrong.
| Output | Physical size | Pixels at 300 PPI | Best use |
|---|---|---|---|
| Single portrait | 35×45 mm | 413×531 px | Upload or save one photo |
| A4 sheet | 210×297 mm | 2480×3508 px | Print several copies |
What you need
- GIMP installed on the PC.
- The customer’s original portrait, preferably sharp and evenly lit.
- The required background colour and upload limit from the form or customer.
- A printer and A4 paper if you are making a physical sheet.
Keep the original file unchanged. Save your working file as XCF so you can correct the crop or background without starting again.
Step 1: Create the 35×45 mm working frame
Why: setting the correct ratio first stops you from stretching a face later.
- Open the portrait in GIMP with File → Open. Save a working copy with File → Save As, such as
customer-passport-photo.xcf. - Select the Crop tool. In Tool Options, enable Fixed and choose Aspect ratio.
- Enter
7:9, which is the simplified ratio of 35:45. Draw the crop around the head and upper shoulders. Keep the head centred, both eyes visible and enough space above the hair. - Press Enter to apply the crop. Do not use a freehand crop after this point, because it can change the final ratio.
- Open Image → Scale Image. Keep the width-and-height chain linked. Set Width to
413 px, Height to531 px, and both X resolution and Y resolution to300 ppi. - Choose a high-quality interpolation option available in your GIMP version, then click Scale. Do not unlock the chain to force unrelated dimensions; crop again if the ratio is wrong.
Success looks like: the image is portrait-shaped, its Image Size is 413×531 pixels, and the resolution fields show 300 PPI.
GIMP’s Scale Image command changes the number of pixels, while its Print Size command changes the physical print size without necessarily resampling. The GIMP Scale Image reference is useful when the menu looks different on your installation.
Step 2: Position the face for the final photo
Why: an exact rectangle cannot fix a face that is too high, too low or too close to the edge.
- Select the Move tool and check that you are moving the active layer, not the selection.
- If the crop needs adjustment, undo the scale, return to the original crop and make the change there. Avoid repeatedly enlarging a small portrait because interpolation cannot add real detail.
- Keep the face looking directly at the camera. Remove distracting empty space, but do not crop into the hair, chin or shoulders.
- Use View → Show Layer Boundary if you need to see the exact 413×531 edge.
- If the source is tilted, use Tools → Transform Tools → Rotate by a small amount, then crop again to 7:9.
Success looks like: the complete head is inside the frame, the eyes are at a natural height, and the photo is not stretched or tilted.
For a specific application, use its own head-height and expression rules. The official Passport Seva minor-photo guidance, for example, asks for a front-facing colour photo with the face taking 80–85% of the photograph. Do not assume that percentage applies to every exam, visa or online form.
Step 3: Change a plain background to white
Why: a clean, even background is easier to inspect and print than a wall with shadows or objects.
- In the Layers panel, right-click the portrait layer and choose Add Alpha Channel if it is available. This allows selected pixels to become transparent.
- Duplicate the portrait layer with Layer → Duplicate Layer. Hide the lower copy so you have a safe original inside the XCF file.
- Choose Tools → Selection Tools → Fuzzy Select or press
U. Click a clear area of the background. - Adjust the Fuzzy Select Threshold gradually. A low value is safer around hair; a high value may select parts of clothing or skin. The GIMP Fuzzy Select manual explains that the tool selects connected areas with similar colour.
- Zoom in and check the marching-ant outline around the hair and shoulders. Shift-click other connected background areas if needed.
- Press Delete to remove the selected background. If the edge looks jagged, undo and reduce the threshold. Do not erase facial features or change the person’s appearance.
- Create a new layer with Layer → New Layer. Name it
white background, set Fill with to white, and move it below the portrait layer. - If the result is for a blue-background form, fill that layer with the required blue instead. Use the colour named in the form, not a guessed shade.
Success looks like: the background is one even colour, there is no halo around the hair, and the face still looks natural at 100% zoom.
Fuzzy Select works best when the original background is fairly uniform. For a difficult background, take a better portrait against a plain wall rather than spending time painting over hair pixel by pixel. The final photo should represent the customer accurately; never use this workflow to alter identity details.
Step 4: Export one upload-ready photo
Why: the single file is easier to check against an online form before you build the print sheet.
- Keep the white or required-colour background layer visible. Use Image → Flatten Image only after you are satisfied with the edit; keep the layered XCF as your master.
- Choose File → Export As and save a copy as
passport-35x45.jpg. - In the JPEG export dialog, start with a high quality setting. If the form has a KB limit, check the exported file size in Windows Explorer.
- If the file is too large, export again with a lower JPEG quality. Do not reduce the pixel dimensions below the portal’s required value without checking the notice.
- Reopen the exported file and confirm Image → Scale Image still shows 413×531 pixels. For an upload, also check the exact maximum KB and file type requested by the portal.
Success looks like: the saved image opens correctly, remains 413×531 pixels, has the requested background and is below the form’s file-size limit.
Step 5: Fill an A4 sheet with eight copies
Why: a separate A4 canvas keeps the individual 35×45 mm photos at their real print size.
- Create a new image with File → New. Set the canvas to
2480×3508 px, which represents A4 at 300 PPI. - Open the finished passport photo as a layer with File → Open as Layers. If it is not already 413×531 px, choose Layer → Scale Layer and enter those pixel values with the chain linked.
- Add a white background layer under the photo. Rename the first photo layer
photo 1. - Duplicate the photo layer seven times with Layer → Duplicate Layer. Rename the copies
photo 2throughphoto 8so you can keep track of them. - Use the Move tool to arrange four photos across and two rows down. Leave a small gap for cutting. Keep every photo upright and at 413×531 px.
- For repeatable alignment, turn on rulers and drag vertical or horizontal guides from the rulers. You can also use Image → Guides → New Guide and enter pixel positions for each row or column.
- Save the layered sheet as
passport-a4-eight-photos.xcf. Export a print copy as a high-quality JPEG or PDF, depending on what your printer workflow accepts.
Success looks like: the A4 canvas is 2480×3508 px, there are eight identical photos, and each photo measures 35×45 mm when printed at 100% scale.
The eight-copy layout is a practical counter layout with cutting space; it is not a rule that every A4 page must contain exactly eight photos. If a customer needs a different count or paper size, change the sheet layout while keeping each individual photo at 413×531 px.
Step 6: Print at actual size and verify
Why: printer-driver scaling is the most common reason an accurately prepared photo comes out too large or too small.
- Open the exported sheet in GIMP or your trusted print dialog.
- In printer settings, choose A4, the correct orientation and the paper type you are using.
- Set scale to 100%, Actual size or No scaling. Turn off Fit to page, Shrink oversized pages and similar automatic options.
- Print one test sheet on ordinary paper first. Measure one photo with a ruler: it should be 35 mm wide and 45 mm high.
- If the measurement is wrong, check the print-dialog scale and paper setting before changing the image. If the colour is wrong, check the printer’s paper and colour settings.
- Print the final sheet and cut along the gaps. Keep the customer’s original and the XCF file according to your shop’s privacy practice.
Success looks like: the test photo measures 35×45 mm on paper, the face is sharp enough for the intended use and the background remains even.
Where GIMP gets slow at a counter
GIMP is capable of this job, but the workflow has several manual hand-offs: crop, scale, selection, background layer, eight duplicates, alignment, export and print verification. A trained operator can usually budget about 3–6 minutes for a clean repeat photo after the sheet template is ready; the first template may take 10–15 minutes while you set guides and spacing.
The work becomes more repeatable if you keep one XCF sheet template with the A4 canvas, white background and eight named photo layers. Replace the photo layers for the next customer, check the crop, and export a new file rather than editing the previous customer’s file. Delete or archive customer files using your shop’s normal privacy process.
For related counter workflows, see our guides to converting a photo to 35×45 mm, printing passport photos on an A4 sheet and passport photo maker software for a PC.
Same job in CafeSeva
CafeSeva is designed for the same counter task with an India 35×45 mm preset. Select the passport photo maker, choose the required background, check the face position, and download the single photo or an A4 sheet with eight photos. Its group mode is useful when one source image contains two or more people.

The practical difference is the number of manual decisions. In GIMP, you build the crop and sheet yourself. In CafeSeva, the passport-photo workflow includes face fitting, white/blue/custom background choices, rotate and colour controls, and the A4 layout in the same browser-based tool. The customer photo stays on the cafe PC rather than being uploaded to the service.
| Counter requirement | GIMP workflow | CafeSeva passport photo maker |
|---|---|---|
| 35×45 mm output | Set crop ratio and scale manually | India 35×45 mm preset |
| Background | Fuzzy Select and a fill layer | White, blue or any colour |
| Multiple copies | Duplicate and align layers | A4 sheet of 8 |
| Group photo | Crop and position each person manually | Group mode |
| Repeat jobs | Reuse an XCF template | Repeat the browser workflow |
CafeSeva lifetime access is ₹299 one-time, lifetime access, with the passport photo maker included alongside the other counter tools. Access is created after payment, and you can pay by UPI, card or net banking. See the CafeSeva passport photo maker for cyber cafes or get CafeSeva if you make this type of photo every day.
Troubleshooting checklist
- The face looks stretched: undo the last scale, keep the width-and-height chain linked, and crop to 7:9 before setting 413×531 px.
- The background has a white halo: undo the deletion, lower the Fuzzy Select threshold, zoom in, and make a smaller selection around the edge.
- The print is the wrong size: keep the image at 413×531 px, set the A4 print to 100% or Actual size, and disable Fit to page.
- The upload is rejected: compare the portal’s required dimensions, file type, background, maximum KB and current notification. A correctly made 35×45 mm image can still be wrong for a form that asks for another specification.
- The A4 sheet is blurry: start with a sharper original. Scaling a low-resolution portrait up to 413×531 px cannot restore missing detail.
FAQ
What is the passport photo size in GIMP for India?
For the workflow in this guide, use 35×45 mm, which is approximately 413×531 pixels at 300 PPI. “Passport size” varies by application, so check the current form or notification before using that preset.
What DPI should I use for a 35×45 mm photo?
Use 300 PPI for a print-ready photo. At that resolution, 35×45 mm rounds to 413×531 pixels. If a portal gives exact pixel dimensions, follow those dimensions instead of converting from millimetres.
How many 35×45 mm photos fit on an A4 sheet?
Eight copies are a practical layout with room to cut, and that is the layout used here. More copies may fit if you reduce gaps and margins, but every individual photo must still print at 35×45 mm.
Why is my GIMP passport photo the right size on screen but wrong on paper?
The printer may be scaling the A4 page. Set the print dialog to A4 and 100% or Actual size, then measure a test copy with a ruler before printing the final sheet.
Can I make the background white in GIMP?
Yes. Add an alpha channel, select a plain background with Fuzzy Select, delete it and place a white layer underneath. Inspect hair and shoulder edges at 100% zoom, and use the form’s stated background rule rather than assuming white is always accepted.