Przejdź do treści
How to

How to remove the background from a passport photo

Replacing the background of a passport photo with a plain white or light grey is the fastest fix for a photo taken against a messy background. The trick is to do it cleanly — automated AI tools sometimes leave artefacts on hair, ears or shoulders that consulates can detect.

Quick answer

Use a tool that handles hair edges, then check corners are uniform

Free online background removers (remove.bg, our own tool) handle most of the work. Check the corners of the result are exactly the same shade and that no edge artefacts remain on hair or shoulders. Re-export at full resolution for printing.

Step-by-step

1

Start from a sharp original

Background removal works only as well as the input. A blurry, low-light or compressed source photo produces a poor cutout with artefacts. Use a high-resolution rear-camera shot under good daylight.

2

Use a tool that handles hair edges

Free options: remove.bg, Photopea, our own tool. Avoid generic auto-cutout tools — they leave a halo around hair and miss thin strands. Our background remover is trained on portrait photography specifically.

3

Check the cutout under a contrasting colour

View the result with a black or red preview background to spot edge artefacts. Anything that does not look clean against the contrasting colour will not look clean against the final white either.

4

Apply the target background colour

For Schengen: light grey or off-white. For US, India, China, Vietnam: plain white. For UK: light grey. Set this in the tool before exporting.

5

Check the corners are uniform

After applying the new background, open the file and zoom into each corner. All four corners must read as exactly the same shade — automated portal checks sample the corner pixels first.

6

Export at full resolution

Background removal often downscales the image. Re-upload the source at full resolution if the tool offers it, or use the tool that exports at the original resolution (our tool keeps source resolution).

Frequently asked questions

Do consulates reject AI-generated backgrounds?

Most do not detect AI background replacement when the cutout is clean (no edge artefacts, no halo on hair, uniform corner pixels). They do reject visibly artificial backgrounds with halo, jagged edges or colour inconsistency.

Is remove.bg or Anfas.Pro better for this?

Both handle most cases well. remove.bg is general-purpose; our tool is trained specifically on portrait photos for document use and applies the country-specific background shade automatically (Schengen grey, US white, etc.).

Why does the cutout leave a halo around my hair?

Thin or curly hair is the hardest edge case for cutout algorithms. The fix is to start from a photo taken against a contrasting background (dark hair against a light wall, light hair against a dark wall) so the algorithm can detect the edge more easily.

Skip the manual steps

Upload a portrait — Anfas.Pro applies the country-specific crop, background and biometric framing automatically. Free preview before payment.

Start with a free preview
Wypróbuj narzędzie · 4,99 € Bezpłatny podgląd