Fix bad edges after background removal
AI background removal gets the outline of most subjects right in one click. When it goes wrong, it is almost always at the edges: a pale halo, a jagged line, a missing strand of hair, or a gap where the subject and the background were the same colour. Each has a cause, and most have a quick fix.
Start with a photo that separates well
The model decides, pixel by pixel, what is subject and what is background. It does best when they differ clearly.
- Contrast: a dark jacket against a dark wall, or a white product on a white table, leaves the model guessing.
- Distance: a subject a metre or more in front of the background is usually a little sharper than it, which helps.
- Light: strong light from behind makes a glowing rim around the subject that ends up as a halo.
- Resolution: a small, heavily compressed image has blocky edges before the model even starts. Use the original photo.
Halo: a pale or coloured fringe
Cause: edge pixels are a blend of the subject and the old background. Removing the background leaves that blend behind, which shows as a light rim on a dark new background (or a dark rim on a light one).
Fixes:
- Use the Best edges model in the Background Remover. It is larger and slower but handles soft edges much better than the fast model.
- Place the cut-out on a background of similar brightness to the original. A halo that shouts on black may be invisible on mid-grey.
- A soft drop shadow or outline hides a thin fringe and helps the subject sit on its new background.
Hair and fur
Cause: fine strands are thinner than a pixel and partly transparent. The model has to decide how see-through each edge pixel is, and against a busy or similar-coloured background it can drop strands or keep clumps of background between them.
Fixes: shoot against a plain background, use the Best edges model, and choose a new background close in colour to the old one so partial pixels still look right. For a head-and-shoulders photo, Portrait Blur is often better than full removal: it keeps the real background, just out of focus, and never has to guess at hair.
Missing parts, or background left behind
Cause: the model treated part of the subject as background (a white shirt on a white wall, a glass, a thin handle) or kept a piece of the background that looked like the subject.
Fixes:
- Crop tighter before removing the background with the Image Cropper, so there is less background to confuse the model.
- For logos and graphics on a flat colour, don't use AI at all: the Chroma Key Remover removes one exact colour and gives perfectly clean, predictable edges.
- Transparent and reflective objects (glasses, bottles) are hard for every tool. For product photos, the Product Photo Studio with a white backdrop hides small errors better than transparency does.
Jagged or blocky outlines
Cause: a low-resolution or heavily compressed source, or enlarging the cut-out after removal.
Fixes: remove the background from the largest original you have; if the image is small, enlarge it first with the Image Upscaler, then remove the background. Resize the result down, not up.
Saving without losing the edges
- Save transparent cut-outs as PNG or WebP. JPEG has no transparency and turns the background white or black. See transparent images explained.
- If a file must be small, WebP with transparency is usually much smaller than PNG with no visible difference.
- Check the result on both a light and a dark background before you use it. Fringes often show on only one.