Image Size Reducer
Edge refiner

Refine PNG Edges

Clean up the outline of a cut-out: take off the leftover pixels of the old background, smooth a chewed boundary, and add the light feathering that makes an image sit naturally on a new surface.

  • Removes leftover background pixels
  • Feathering control for soft blending
  • Edge contrast to recover lost definition
  • Transparency layer left untouched
  • Processed in the browser
Open the edge refiner

The Outline Is Where Cut-Outs Go Wrong

A subject that looked perfect on the checkerboard can be spoiled by a couple of pixels of the wrong color along its boundary.

Removing a background is a decision made per pixel, and at the boundary the decision is genuinely hard. A pixel that is half subject and half background has no correct answer, so every automated method guesses, and the guess is what you see as a rough edge. The result falls into one of two families. Either the cut kept too much and left a rim of the old background clinging to the shape, or it removed too much and left the outline chewed and uneven. Both are fixable, and both are fixed in the same place, which is why learning to refine PNG edges is mostly about understanding what happens along a two-pixel band rather than about choosing a filter.

What the Edge Refiner Does

Two controls, one for softening and one for tightening, applied only to the boundary.

Feather control

Widen the transition around the outline so a cut-out blends into a new background instead of sitting on top of it.

Edge contrast

Tighten a boundary that has gone woolly, restoring definition where the outline is too gradual.

Clean leftover pixels

Take off the residue of the old background that shows up as a rim on solid surfaces.

Real-time preview

Judge it at the size the image will be seen, where an over-softened edge gives itself away.

Local processing

The file is read in the browser, so nothing is uploaded.

ImageSizeReducer

ImageSizeReducer

@imagesizereducer

What a jagged edge really is

Many people assume the outline is jagged because the image lacks antialiasing, and reach for a blur. That is usually wrong, and it makes the problem worse. What has actually happened is that a band of pixels along the boundary still holds the old background. On a checkerboard those pixels blend with the grid and look acceptable, and on any solid surface they appear as a pale or dark rim that traces the whole shape. Treating it as a softness problem blurs the subject as well as the rim, whereas treating it as a color problem removes the rim and leaves the subject sharp. Knowing which of the two you are looking at is the first thing to settle before you refine PNG edges at all.
Refine the outline
The same cut-out shown on a checkerboard and on a solid color
ImageSizeReducer

ImageSizeReducer

@imagesizereducer

Two opposite faults

Kept too much and the subject wears a halo of whatever used to be behind it, brightest against a contrasting background. Removed too much and the outline loses its fine structure, so curves look faceted and thin details such as hair or antennae break apart. The remedy differs accordingly. A rim is removed, which means eroding the boundary slightly and pushing those pixels back to transparent. An eroded edge is rebuilt, which means softening the boundary so the remaining pixels gather into a smoother line. Applying the wrong one doubles the problem, which is why a moment spent zoomed in is worth more than any amount of slider movement before you refine PNG edges.
Refine the outline
One cut-out with a rim of old background and one with a chewed outline
ImageSizeReducer

ImageSizeReducer

@imagesizereducer

Antialiasing, explained properly

A clean edge is not a hard edge. Where a diagonal boundary runs between two regions, the pixels it passes through should be partially transparent, so that at viewing distance the eye reads a smooth line rather than a staircase. That partial transparency is what antialiasing means, and it is the mechanism that lets a cut-out sit convincingly on a colored surface. A boundary that is entirely opaque up to a point and entirely transparent after it will always look stepped, however sharp it appears when zoomed in. Restoring that ramp of intermediate values is the core of what it means to refine PNG edges, and it is why the operation touches opacity rather than color.
Refine the outline
A hard stepped diagonal boundary beside an antialiased one
ImageSizeReducer

ImageSizeReducer

@imagesizereducer

Feathering, and how far to take it

Feathering widens that ramp of partial values so the transition happens over more pixels, which softens the outline and helps a subject blend into a new background. Used lightly it removes the cut-and-paste look that makes composite images obvious. Used heavily it does visible damage. The shape contracts, because the outermost pixels become almost transparent and the eye no longer counts them as part of the subject. Fine detail disappears, since hair and thin lines fade before the solid areas do. And a bright surface behind the subject appears to bleed into the edge. A little goes a long way when you refine PNG edges, and the value that looks right at normal size is almost always lower than the one that looks interesting zoomed in.
Refine the outline
A subject feathered lightly and the same subject feathered heavily
ImageSizeReducer

ImageSizeReducer

@imagesizereducer

Color spill along the boundary

There is a second boundary problem that feathering cannot fix. When a subject is photographed against a strong color, that color reflects onto the edge of the subject itself, so a person shot on a green screen keeps a green tinge around the hair and shoulders even after the background is gone. Eroding the boundary helps, because it discards the outermost pixels where the spill is strongest. Beyond that the honest answer is that the fix belongs in a color tool rather than an edge tool, and the practical advice is to check for a color cast before you refine PNG edges at all, since no amount of smoothing will remove a tint that is baked into the pixels.
Refine the outline
A cut-out showing a color cast around the hair from the old background
ImageSizeReducer

ImageSizeReducer

@imagesizereducer

When to sharpen instead

Not every weak outline needs softening. A cut-out from a low-resolution source, or one already resized, can have a boundary that is genuinely too gradual, so the subject looks wrapped in fog rather than cleanly separated. An edge contrast control addresses that by tightening the ramp, moving partial values towards fully opaque or fully transparent. It restores definition and makes the subject read as solid, and it is the useful counterweight to feathering. Working between the two, softening where the boundary is harsh and tightening where it is woolly, is how a difficult edge is actually brought under control.
Refine the outline
A woolly outline tightened with edge contrast beside one left as it was
ImageSizeReducer

ImageSizeReducer

@imagesizereducer

Where the difference is visible

Product photography is the clearest case: catalog images are placed on white and then reused on colored tiles, where a rim that was invisible can be glaring. A single pass to refine PNG edges, checked on both surfaces, is faster than discovering the problem after publication. Logos, icons, and stickers behave the same way, since they are designed to be dropped onto unknown backgrounds. Collages and compositions are the other common case, where several cut-outs from different sources have to look as though they belong to the same picture, and matching their boundary quality is a large part of achieving that.
Refine the outline
A product cut-out tested on a white tile and on a colored banner
ImageSizeReducer

ImageSizeReducer

@imagesizereducer

What refinement cannot do

It is worth being clear about the limits. To refine PNG edges is to redistribute the pixels that are already there, so it can remove a rim, smooth a staircase, and tighten a soft boundary, and it cannot invent detail that the cut-out destroyed. Where hair was severed cleanly at the boundary, or a lace edge was cut through, no amount of feathering will bring it back; the information is simply no longer in the file. The realistic goal is an edge that holds up at the size the image will be used, which is a considerable improvement on a visible rim or a stepped outline, rather than a mathematically perfect matte. Setting expectations there also keeps the settings sensible, since chasing perfection is the fastest route to over-softening.
Refine the outline
A refined cut-out at normal viewing size beside the same file magnified

How to Refine PNG Edges

Four steps. The second is the diagnosis, and getting it wrong means pulling the sliders in the wrong direction.

Step 1

Upload the cut-out

Use the original transparent file rather than a version that has already been flattened onto a background.

Step 2

Zoom in and identify the fault

A rim of the old background means too much was kept. A chewed, faceted outline means too much was removed.

Step 3

Adjust feather or edge contrast

Soften a harsh boundary or tighten a woolly one, keeping the change small and checking at normal viewing size.

Step 4

Test on two surfaces and download

Check the result on a light and a dark background, since a rim that survives is easiest to see against contrast.

Who Refines Edges

Four kinds of work where the outline is the whole story.

PP

Product photographers

catalog images

A rim that is invisible on white becomes obvious on a colored banner. Refining once and testing on both surfaces saves a reshoot.

BD

Brand designers

logos and stickers

A mark has to work on whatever surface it lands on. A light feathering is usually all it takes to stop a logo looking pasted on.

CA

Collage artists

composites

Cut-outs from different sources never share the same edge quality. Matching them is most of what makes a composite look like one picture.

SM

Social media designers

thumbnails and posts

Fixing the outline is far quicker than redoing the removal. Keeping the setting low is the trick, since an over-softened subject reads as out of focus.

Frequently Asked Questions

Why a cut-out looks rough, and what edge treatment can change.

Clean up the boundary

Upload a cut-out, remove the leftover background pixels, and soften or tighten the outline until it holds up on any surface, all in the browser.

Refine the outline
Fix the Boundary, Keep the Subject

Two pixels wide, and it decides how the image reads

Almost everything that goes wrong with a cut-out goes wrong in a band two pixels deep along its outline. That is where a removal tool has to judge, and a pixel straddling the boundary has no single right answer. The common mistake is to treat roughness as a softness problem and reach for a blur, which spreads the fault over the subject instead of removing it. Look at the boundary closely first. A rim of the old background means the cut kept too much, and the answer is to take those pixels away. A faceted, chewed outline means it removed too much, and the answer is to let the boundary soften so the remaining pixels form a cleaner line. Only after that is feathering worth touching, and then sparingly: the shape contracts as the transition widens, and an over-softened subject looks out of focus at the size anyone will see it. Test on a light surface and a dark one before calling it done, since a surviving rim hides against the background it came from. Set expectations honestly as well, because the detail a removal destroyed is not coming back. Do those few things in order and the outline stops drawing attention to itself, which is the only real goal when you refine PNG edges.

Smaller files, same picture.