Updated
Alpha Bleed Fixer
Fill hidden RGB around transparent texture edges. Stop dark or light halos before they reach the renderer, preserve alpha, and export a corrected PNG locally.
Upload a transparent texture
Choose a PNG or WebP with alpha. The file is decoded, processed, previewed, and encoded in the browser without leaving the device.
Fill hidden RGB only
The tool grows nearby visible color through 1 to 32 transparent texel rings. Every alpha byte remains unchanged.
Compare light and dark edges
Drag the before-and-after divider, switch between light, dark, and checkerboard backgrounds, and zoom to inspect filtered edge color.
Export a corrected PNG
The PNG encoder writes straight RGBA scanlines so useful RGB remains stored even where alpha equals zero.
What does alpha bleed fix?
Alpha bleed copies visible edge color into transparent texels while preserving alpha. Linear filtering and mipmaps can sample hidden RGB beside an opaque edge, so black or white transparent pixels can create a contrasting halo.
Which transparent-edge method should you use?
| Method | Filtered edge result | Best use |
|---|---|---|
| Black or empty transparent RGB | Can create a dark fringe on light backgrounds | Avoid for filtered color textures |
| White transparent RGB | Can create a pale fringe on dark backgrounds | Avoid unless the visible edge is already white |
| Nearest-edge RGB bleed | Keeps filtered edge color close to the visible silhouette | Sprites, decals, UI textures, foliage, and texture atlases |
How to fix alpha bleed on a transparent PNG
- Upload a transparent texture. Choose a PNG or WebP with an alpha channel. The browser decodes and processes the file on your device.
- Set the bleed distance. Choose how many transparent texel rings should inherit color from the nearest visible edge. Eight pixels is a practical starting point for many game textures.
- Protect the antialiased edge. Set the source alpha threshold low enough that visible and antialiased texels remain source colors while only nearly transparent texels are replaced.
- Compare on light and dark backgrounds. Drag the comparison divider and switch backgrounds. Check both extremes because a fringe can disappear on one background and remain obvious on the other.
- Export the corrected PNG. Download the original dimensions and alpha values with corrected hidden RGB stored around the edge.
Alpha Bleed Fixer FAQ
What is alpha bleed in a transparent texture?
Alpha bleed is RGB color stored in transparent texels around a visible texture edge. Good edge bleed extends the visible edge color outward so bilinear filtering and mipmaps do not pull black, white, or unrelated RGB into the silhouette.
Does Alpha Bleed Fixer change transparency?
No. Alpha Bleed Fixer preserves every alpha byte and changes only RGB values in texels at or below the selected source-alpha threshold.
Why do transparent PNG textures get dark or white halos?
Texture filtering samples neighboring RGBA texels. If transparent neighbors contain black or white RGB, the filtered edge can inherit that color before blending, which creates a halo on a contrasting background.
How much alpha bleed should a texture use?
Start with 4 to 8 pixels for a standalone texture and inspect the smallest mip level used by the project. Atlases and textures with large mip chains may need more padding, but the safe distance depends on texture resolution, UV spacing, filtering, and mip settings.
Are uploaded textures sent to a server?
No. Alpha Bleed Fixer reads, processes, previews, and encodes the texture in the browser. The selected file does not leave the device.