Overview
Cleans up L-shaped steps in a silhouette—the protrusions and chips that appear on diagonal lines and corners. It is a finishing node that makes pixel-art outlines look closer to carefully hand-placed pixels.
Usage tips
- It affects only the alpha shape, not color steps inside the artwork. Fix those by hand or with color-reduction tools.
- Start with
OpaqueSide(remove protrusions). If the shape becomes too thin, switch toTransparentSide(fill chips). - Place it before
outlineto reduce irregularities in the outline. - Split responsibilities with
pixel_cleanup(isolated pixels and holes): that node handles dots; this one handles corners.
Related nodes
pixel_cleanup— clean up isolated 1px artifactsoutline— add an outline after cleanuppath_stroke— for path-derived shapes, start with pixel-perfect rendering
When to use it
- When you want to clean up L-shaped steps in an alpha silhouette at 1px diagonal lines and corners
- When you want to remove or fill small parts of a silhouette in an image that did not come from a path
- When you want to clean the source-image silhouette itself rather than choose the inside or outside of a band such as
Outline
Notes
- This is not exact pixel-perfect correction derived from vector paths.
- It binarizes image alpha and applies raster correction to that silhouette.
- It is therefore not a substitute for "true pixel perfect" processing on general images.
- In other words, changing only the colors inside does nothing. It takes effect only when the alpha silhouette changes.
- It is normal for a perfect square or rectangle with no L-shaped corners to remain unchanged.
Correction Mode = Opaque Sideremoves L shapes protruding from the filled silhouette.Correction Mode = Transparent Sidefills corner chips on the transparent side with neighboring colors.- This organizes shapes based strictly on the alpha silhouette, not color boundaries.
Examples
- Clean up L-shaped noise that appears only at the corners of a pixel-art character.
- Clean the source image before
Outlineto reduce broken outlines. - Make diagonal lines and rounded 1px silhouettes look more like pixel art.