Change the background colour of an ID photo
Replace the background of a photo shot against a plain wall with a colour of your choice. This is a simple colour-distance substitution, not an AI cut-out, so read the limits before relying on it.
iPhone HEIC files are read directly.
Load a photo first.
Set scaling to none (100%) in the print dialog.
How it works: colour distance, nothing more
The average colour of the four corners is taken as the background. Every pixel is compared against it, and pixels closer than the threshold are replaced, with a soft blend near the boundary to avoid a jagged edge. There is no face detection and no segmentation model, which is why it is instant and why nothing is uploaded.
Where it fails
Hair or clothing close in colour to the background gets repainted too. A dark shadow or gradient on the wall leaves patches of the original colour behind. Patterned curtains and furniture are hopeless. The real fix is at capture time: stand well away from a bright, plain wall.
A caution for official applications
Passport, national ID and visa authorities may treat retouching as an improper alteration. Changing a flat background colour is usually tolerated, but a photo with a chewed-up outline or repainted hair is at real risk of rejection. Inspect the result at full size, and re-shoot if it looks unnatural. For a resume or a staff pass it does not matter.
Frequently asked questions
Can it make the background transparent?
No — it substitutes one flat colour for another. ID photos always need a solid background, so transparency has no use here. Accurate cut-outs need an AI tool, and most of those upload your image to a server.
What colour should an ID photo background be?
White, light grey or light blue for Japanese resumes, passports and My Number cards. US visas require white or off-white only; Chinese visas require white. Light blue is sometimes preferred on career-change resumes because it makes the face stand out.
Fine strands of hair are being eaten away
That is inherent to colour-distance keying. A lower threshold keeps the hair but leaves background colour behind; a higher one clears the background but erodes the hair. Compromise in the middle, or re-shoot against a wall with more contrast against your hair.
Does the processing stay on my device?
Yes. The per-pixel work happens on a canvas in your browser and the image is never transmitted.