Home › Guides

How to get clean edges: hair, fur, glass and shadows

Removing a background is easy when the subject has a clear, solid outline. It gets harder with hair blowing in the wind, a fluffy cat, a wine glass or a bride's veil. This guide explains why those edges are difficult and how to get the best result with the tools in the editor.

Everything here works in your browser, on a computer or a phone. Only the optional HD cut-out sends a photo to our server, and it is deleted straight after.

Why edges are the hard part

To cut out a subject, the AI decides for every pixel how much of it belongs to the subject. Inside a face or a box, that is simple: fully subject. Far behind, it is simple too: fully background. The trouble is the border.

So edge pixels carry a bit of the old background with them. That is why a cut-out can look perfect on the checkerboard and then show a thin rim on a new colour.

Step 1: choose the right AI model

Below the upload button you can choose the AI:

The model is downloaded to your browser the first time and then reused.

Step 2: try the HD cut-out on difficult photos

If the hair still looks clumpy or parts are missing, press HD cut-out. It uses a stronger AI on our own cloud server. You are asked once before anything is sent; the photo travels over an encrypted connection, is processed in memory and is deleted straight away. The button only appears when the server is available.

The HD result replaces the current cut-out. If you liked the first one better, press Undo to go back. Because it replaces the cut-out, do the HD step before any brush work.

Step 3: use the Edge slider – a little goes a long way

The Edge slider in the Background tab goes from Sharp to Soft. Moving it towards Soft blends the outermost pixels gradually into the new background instead of stopping hard.

Set the slider last, after the shape is right.

Step 4: fix the details with Erase and Restore

The Brush tab has two modes. Erase removes what you paint over. Restore brings back the original photo where you paint – it does not invent anything, it just un-removes. Parts that are removed are shown faintly while you work, so you can see what the AI took away.

Technique

  1. Zoom in first. Use the mouse wheel or two fingers. Move with the right mouse button or two fingers. Accurate work at the edge needs a close view.
  2. Match brush size to the job. Large to clear big leftover areas, small for the outline.
  3. Keep the brush centre on the side you are changing. When erasing, stay on the background side and let the brush just touch the subject.
  4. Restore hair with a soft hand. For lost strands, use Restore with a small brush and follow the direction of the hair, a few short strokes at a time. Restoring a big block of hair also brings back the background between strands, so less is more.
  5. Undo any stroke you do not like, or use "Start again from the automatic cut-out" for a fresh start.

On a phone, zoom in further than seems necessary; your fingertip hides the spot you are painting.

Glass, veils and other see-through things

A cut-out has to decide whether each part is kept or removed. See-through objects do not fit that neatly. A glass, a bottle, a veil or a sheer curtain shows the old background through it. After the cut-out you will typically see one of two things:

What helps:

Veils, tulle and fine lace behave the same way. A wedding portrait against a pale wall moved to a pale colour looks natural; the same veil moved to deep blue may show patches of the old wall.

Shadows: remove or add?

The shadow under a person or product belongs to the floor, so the AI removes it with the background. The subject can then look as if it is floating, especially products and cars.

Coloured fringes and how to avoid them

Light bounces off walls, grass and furniture onto the subject. A person standing by a green hedge has a little green on the edge of their hair and cheek. After the cut-out, that tint stays. On a similar colour you never notice it. On a very different colour it shows as a rim.

The best photos to start with

Good edges start when you take the picture:

With a good photo, most cut-outs need nothing more than the automatic result. When they do, the steps above are in order: model, HD cut-out, brush, then Edge. For the basics, see how to remove a background, or go straight to the background eraser.

Questions

Why does my cut-out have a thin white or dark line around it?

Edge pixels often contain a little of the old background. On a very different new colour, that shows as a rim. Move the Edge slider slightly towards Soft, erase the worst parts with a small brush, or choose a background closer in brightness to the original.

Should I use the Fast or the Best quality model for hair?

Use Auto (best quality) or Best quality only for hair and fur. Fast only is a smaller download and works well for solid objects, but it is usually less precise around fine strands.

Is my photo uploaded when I use HD cut-out?

Yes, HD cut-out is the one step that sends the photo to our server, after you agree. It travels over an encrypted connection, is processed in memory and is deleted straight away. The normal cut-out runs entirely in your browser.

Why does a glass look strange on a new background?

Glass is see-through, so the old background is visible inside it and stays there after the cut-out. Photograph clear objects in front of a plain wall in a colour close to the new background, or choose a new background similar to the old one.

How do I add a shadow back under a product?

Open the Product tab and switch on Shadow. It places a soft, even shadow under the product on a square 2000 by 2000 pixel image with the background colour you choose.

Remove a background now →