Logo Edge Cleaner v2

Surgically fix light fringes and white outlines on transparent logos — without eating into text or solid areas. This version uses edge-mask detection so only pixels near transparency boundaries are touched.

Precision Controls

Only pixels within the Edge Detection Radius of a fully transparent pixel are processed. Interior pixels stay untouched. Drag Master Strength to scale all effects at once.

Preview background
OriginalNo image loaded
CleanedReady
Tip: switch between Dark and Light backgrounds to verify the fringe is truly gone without losing detail. If text looks thinner than the original, reduce Alpha Tighten and Edge Shrink first.

How to use

  1. Drop a transparent PNG or WebP onto the upload area, or press Choose Image. Load Demo Pattern creates a sample logo with a deliberate light fringe so you can see the controls work.
  2. Switch the preview background between Checkerboard, Dark and Light. A white halo shows clearly on Dark.
  3. Start with the defaults and raise Master Strength gradually. It scales every other effect at once.
  4. Tune the other sliders if needed: Edge Detection Radius, Remove White Matte, Defringe, Alpha Tighten and Edge Shrink. Leave the two protection ticks on unless you are comparing results.
  5. With Live update ticked the preview follows the sliders. Otherwise press Apply Cleanup. Then download the Cleaned image as PNG or WebP.

Worked example

A logo cut out of a white page and placed on a dark banner has a thin pale outline. Load it and view the Cleaned preview on the Dark background.

The outline is made of semi-transparent pixels whose colour still contains some of the old white. The defaults target only pixels within 1 pixel of full transparency and pull their colour back towards the logo colour. The status line reports how many pixels were targeted.

If a faint halo remains, raise Remove White Matte or Alpha Tighten a few steps. If the text looks thinner, lower Alpha Tighten and Edge Shrink first, as they change shape, not colour.

How it works

A transparent image stores four values per pixel: red, green, blue and alpha, where alpha is opacity. When a logo is anti-aliased against white, the smooth edge pixels are a blend of the logo colour and white. Once the white is removed, those blended pixels show as a pale rim on a dark background. This is called a matte or fringe.

The tool first finds every fully transparent pixel and measures how far each other pixel is from the nearest one, up to the chosen radius. Pixels close to a transparent edge get a mask value near 1, and interior pixels get 0. Every correction is multiplied by that mask, so solid areas are left alone.

The corrections are then applied to the semi-transparent edge pixels. Matte removal solves the blend backwards, assuming a white background, to estimate the original colour. Defringe darkens very light edge pixels in proportion to how transparent they are. Alpha Tighten sets very faint pixels to fully transparent, and Edge Shrink erodes the alpha channel by up to two pixels. Fully opaque pixels are skipped when protection is on.

The cleaned canvas is exported with the browser encoder. PNG is lossless. For WebP, the page asks for the highest quality when the lossless box is ticked and 0.92 otherwise, and browsers differ in how they treat that setting. The method assumes a white matte.

Privacy

Your logo is opened and processed in your browser. It is not uploaded, and the tool sends nothing to the site or to another service. Analytics and ad scripts load separately and do not receive your image. See the privacy policy.

Frequently asked questions

Why is there still a halo after cleaning?

The fringe may be wider than the Edge Detection Radius, or a different colour from white. Raise the radius to 2, increase Remove White Matte, and check the result on both Dark and Light backgrounds.

Why does my image look unchanged?

It may have no semi-transparent pixels, as with a JPEG or a solid background. Use a PNG or WebP with a real alpha channel.

What does the edge mask option do?

With it on, only pixels near a transparent edge are processed. With it off, every visible pixel can be changed, which is more aggressive and can darken solid areas.

Related tools