The tools, and what each actually does
Clone stamp copies pixels from one place to another exactly. You choose the source. Total control, no invention, and it repeats visibly if you are careless. Available in GIMP, Krita and Photopea.
Healing brush copies texture from a source but blends the colour and luminance of the destination. This is why it works where clone fails: a spot on a gradient healed from a flat area takes the texture of the source and the tone of the target, so it disappears. It fails when you cross a boundary, smearing two regions together, which is why healing near an edge produces the characteristic muddy blur.
Content-aware fill (GIMP’s Resynthesizer, Photopea’s equivalent) analyses the surrounding area and synthesises a patch from it algorithmically. Good at texture: grass, gravel, sky, fabric. Poor at structure, because it has no concept of a straight line and will happily curve a window frame.
Inpainting with a diffusion model regenerates the region from the prompt and the context. It is the only one of the four that can invent something that was never in the image: a continuation of a wall that is entirely hidden, a piece of floor with a pattern that has to be plausible rather than copied.
The decision
Look at what is behind the thing you are removing.
- Uniform texture: sky, wall, grass, water. Content-aware fill. Two seconds and it is done.
- A gradient with no structure: a studio backdrop, a soft sky. Healing brush, or clone with a soft edge.
- Regular structure: tiles, brickwork, panelling, a railing. Clone stamp, sampling from a matching part of the same structure. This is where the algorithms fail and patience wins.
- Complex scene content: the object was in front of a shelf of things, a crowd, a detailed background. Inpainting.
- A large object occupying a third of the frame: inpainting with a generous mask, then a repair pass on the joint.
Most real removals use two: inpaint the bulk, then clone-stamp the structural edge the model got wrong.
Inpainting a removal properly
The instinct is to mask the object tightly and prompt for what should be there. Two adjustments make it work far better.
Mask beyond the object. Include its shadow, its reflection, and 20 to 30 pixels of surroundings. An object’s shadow is the thing people forget, and a removed object leaving its shadow is the most conspicuous possible failure.
Prompt for the background alone, not for absence. empty wooden table, soft shadow works. no cup does not: negation is unreliable, and naming the cup in any form raises the chance of getting one.
Denoise should be high, 0.8 to 1.0, because you want new content rather than a modification of what is there.
The ghost
The characteristic failure of any removal is a ghost: a faint outline, a slight difference in tone, a shape you can see when you look for it. Three causes, three fixes.
Tonal mismatch: the patch is slightly lighter or darker. Correct with a curves adjustment confined to the patch, not to the whole image.
Texture mismatch: the patch is smoother than its surroundings because grain was lost in regeneration. Add matching noise, or run a low-denoise pass at 0.2 over the area.
Edge residue: a rim of the original object’s colour survives at the mask boundary. This is the mask being too tight. Mask wider and redo it; feathering alone will not clear a contaminated edge.
Check by exaggerating: duplicate the layer, apply a strong Curves contrast, and look. Ghosts that are invisible normally are obvious under high contrast, and this thirty-second test catches almost all of them before a client does.
What removal costs you
An honest limitation. Removing an object means the information behind it does not exist, and everything you put there is fabricated. On an artistic image that is fine. On an image that documents something real, it is an alteration of a record, and the difference is not technical.
There is a second, subtler cost. A scene with an object removed often composes worse than it did, because the object was doing something: balancing the frame, filling a corner, giving the eye somewhere to rest. People remove a distraction and find the picture has gone slack.
So look at the result as a composition, not just as a successful removal. Occasionally the right answer is to replace the object with something else rather than leaving a gap, and occasionally it is to leave it alone.
Every lesson here is open. Your progress is recorded once you pass the Vectors, Logos and Things That Get Printed exam.
Check your understanding
An object is removed from a gravel path but leaves a faint smooth patch visible when the image is examined. What is the cause and remedy?
Pick the one you would defend. Your answer stays private.
Stuck on something?Ask Neema, your AI tutor
