EIT easy-image-tools / Clean the color fringe on a cutout

Clean the color fringe on a cutout

Replaces edge-halo colors of semi-transparent pixels with the nearest fully opaque color. Alpha stays as is.

Nothing found — try another word.

01

Clean the color fringe on 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

Clean the color fringe pulls the leftover background color out of the semi-transparent pixels along a cutout edge — the halo a cutout picks up when its edge pixels still hold the old backdrop. Defringing replaces the color of every partly transparent pixel with the color of the nearest fully opaque pixel within the Radius you set, leaving the object's own color behind. Alpha is never touched, so the shape and its softness stay exactly as they were. The scan runs inside your browser and sends nothing to a server.

  • Runs entirely in your browser: no upload, no server, no signup.
  • Recolors only partly transparent pixels; fully opaque and fully transparent ones are skipped.
  • Radius from 1 to 10 px; 3 px covers a typical one-pixel halo.
  • Alpha is never touched — the edge stays as sharp or as soft as it was.
  • Save as PNG to keep the alpha channel intact.
  • Free with no daily limit, no watermark and no account, also for commercial use.

How to use it

  1. Drop the image with the halo into the source area, or pick a file from your device.
  2. Set Radius from 1 to 10 px; 3 px is enough for a typical one-pixel halo.
  3. Watch the edge in the preview - the fringe disappears, the transparency stays.
  4. Download the result as PNG to keep the alpha channel intact.

Questions

What exactly gets recolored?

Only pixels whose alpha is between zero and full opacity. Fully transparent and fully opaque pixels are skipped, so the body of the picture is left alone.

How far does it look for a replacement color?

Ring by ring, up to Radius pixels away, and it stops at the first fully opaque pixel it meets. A halo thicker than the Radius keeps part of its old color.

My halo is still there. What now?

Raise the Radius until the colored rim is gone. If the soft edge is very wide, feather edges first and then run this tool, which cleans the colors of the newly soft pixels as well.

Does this soften or blur the edge?

No. It copies a neighboring color onto the semi-transparent pixels and leaves alpha alone, so the edge stays exactly as sharp or as soft as it already was.

Related tools