EIT easy-image-tools / Fill holes inside a cutout

Fill holes inside a cutout

Closing: fills lone transparent dots inside the object.

Nothing found — try another word.

01

Fill holes inside a cutout

Nothing found — try another word.

Radius

Nothing found — try another word.

Preview
Source
Drop a PNG here or click / paste (Ctrl+V) — processed locally
Result
no result yet

Fill holes seals the small transparent gaps inside a cutout — pinholes and dropped pixels a scan or a mask left behind. Morphological closing grows the shape by Radius pixels and shrinks it back by the same amount, which swallows holes narrower than about twice the radius. Only pixels that were fully transparent and became covered are added, painted black; the tool never removes a visible pixel, so it cannot eat into the subject. PNG, JPG, WebP and BMP are accepted and processed locally.

  • Runs entirely in your browser: no upload, no server, no signup.
  • Morphological closing: radius from 1 to 3 px, for holes up to about twice that.
  • Only adds pixels, never removes — the subject cannot be eaten into.
  • Newly filled pixels are painted black.
  • A gap touching the canvas border counts as outside and stays open.
  • Free with no daily limit, no watermark and no account, also for commercial use.

How to use it

  1. Drop the cutout with the pinholes into the source area, or pick a file from your device.
  2. Set Radius from 1 to 3 px; 1 is enough for a single missing pixel.
  3. Check the result: the dots inside the object are filled, the outside is untouched.
  4. Download the result, saving as PNG so the object keeps its transparency.

Questions

Why is the filled area black?

Newly filled pixels have no source color, so they are written as black. Run the silhouette tool afterwards if the object should end up one solid color.

My hole sits against the edge of the picture and stays open.

Closing can only fill what the shape can grow across, and it cannot grow past the canvas. A gap that touches the border counts as part of the outside.

How big a hole can it close?

Anything narrower than about twice the Radius, and the Radius slider stops at 3 px. Wider gaps are not speckles - crop them out with the crop tool or paint them in by hand.

Does it also remove specks outside the object?

No, closing only adds. To delete isolated transparent or semi-transparent dots outside the shape, use the despeckle tool, which is the same operation run the other way round.

Related tools