Background Changer Left Patches or Changed My Shirt? How to Fix It
Why a colour-based background changer leaves patches, a halo round hair, or recolours a white shirt, and how sensitivity, cropping and lighting fix it.
The short answer
The Photo Background Changer works by colour matching: it reads the colour in the four corners of your photo and replaces every pixel close to that colour with your new background colour. That explains all of the usual problems. Leftover patches are shadows that are too different from the corner colour, a recoloured shirt is clothing that is too similar, and a halo is edge pixels that are half and half. The fixes are to adjust Detection sensitivity, make sure the corners are plain background, and start from a photo with an even, contrasting backdrop.
How the tool decides what is "background"
Knowing the method makes the fixes obvious.
There is no face or person detection. The tool does not know where you are in the photo; it only compares colours.
Problem 1: patches of the old background remain
What you see: grey or yellow blotches near your shoulders, a shadow behind your head, or a gradient at the top of the photo that did not change.
Why: a shadow on a white wall is grey, not white. If it is far enough from the corner colour, it does not match.
Fixes, in order:
Problem 2: your shirt, teeth or eyes changed colour
What you see: a white shirt turns blue, or the whites of your eyes pick up the new colour.
Why: the tool replaces matching pixels everywhere, not only around you. If your clothing is the same colour as the wall, it is treated as background.
Fixes:
Problem 3: a halo or fringe around hair and shoulders
What you see: a thin line of the old colour around your outline, most visible on hair.
Why: the pixels at the edge of your hair are a mix of hair colour and wall colour. They are too different from the wall to be replaced, so they keep a trace of the old background. The tool replaces pixels with a solid colour; it does not blend or soften edges.
Fixes:
- Choose a new colour close to the original wall. A light grey wall changed to white shows almost no fringe; the same photo changed to dark blue shows a clear one.
- Raise sensitivity a little to catch more of the blended pixels, watching that it does not start eating into your hair.
- Use a photo with good focus and lighting. Soft, blurry edges create a wider band of mixed pixels.
Problem 4: nothing changes, or the wrong colour is replaced
Why: one or more corners are not background. If your shoulders reach the bottom corners, or a door frame sits in a top corner, the average "background colour" is wrong.
Fix: crop the photo first so that all four corners show only the plain wall. The Crop Image tool lets you set the exact X, Y, width and height, so you can trim a few pixels from the edges. Then load the cropped file into the background changer.
Problem 5: the result looks fine on screen but a form rejects it
The output keeps your original pixel size and is a high-quality JPG, so it can be larger than a form allows.
- To meet a pixel size, resize it with the Resize Image tool.
- To meet a KB limit, use Compress Image to KB.
- For passport and visa photos, which also have rules on head size and framing, the Passport Photo Maker is the better starting point.
Choosing the sensitivity
| Setting | Behaviour | Good for |
|---|---|---|
| 5 to 20% (Precise) | Replaces only colours very close to the corners | Clean studio-style backgrounds; light clothing |
| About 30% (default) | A middle setting | Most plain walls in good light |
| 40 to 60% (Aggressive) | Replaces a wider range of colours | Walls with mild shadows; dark clothing |
There is no single right number. Change it in steps of 5 and click Change Background each time, comparing the Result preview with the Original.
A photo set-up that works first time
When this tool is not the right one
If your background is busy, such as a room, a street or a patterned curtain, colour matching will not separate you from it cleanly, whatever the setting. Retaking the photo against a plain wall is the most reliable fix. For the basic walkthrough of changing a background to white, blue or another colour, see how to change a photo background to white.
Frequently asked questions
Why did parts of the old background stay?
The tool only replaces pixels close in colour to the background it detects from the four corners. Shadows, gradients and creases are further from that colour, so they stay. Raise the Detection sensitivity slider or shoot against a more even background.
Why did my white shirt change colour too?
The tool replaces every pixel that is close to the background colour anywhere in the photo, not just around you. A white shirt on a white wall matches, so it is replaced. Lower the sensitivity, or retake the photo with clothing that contrasts with the wall.
How do I get rid of the thin outline around my hair?
Edge pixels are a blend of hair and background, so they fall outside the colour match and keep their old colour. Choose a new background close to the old one, raise sensitivity slightly, or use a plain light wall that blends with the fringe.
Does the background changer upload my photo?
No. The photo is read and processed on a canvas in your browser, and the result is downloaded as a JPG from there.
What file do I get?
A JPG named photo-new-background.jpg at the same pixel size as your original, saved at high quality. Resize or compress it afterwards if a form has size limits.
Put this guide into practice with our free online tool — no signup required.
Open tool