Ghost Pixel Fill
A graphical application that prevents unwanted dark or light edges in PNG images used in ImageLabel, Textures, or other Roblox assets.
The program fills in the RGB values of fully transparent pixels using an algorithm, thereby correcting edge artifacts.
How it works
Works only on Win 10-11 64-bit. You can find alternatives at the end!
Even completely transparent pixels have a color, and different programs fill them automatically in different ways. Below is a demonstration of how my app works and how the color changes under the alpha channel.
Before/After comparison and RGB preview without alpha channel included
Photoshop fills transparent pixels with white, while programs like GIMP use black.
The outcome is unaffected by color differences; only pixels with non-zero transparency are considered.
The uneven color on the microphone stand is not a program bug, but a artifact in the original PNG. When zoomed in, you can see a shift in shades, unlike the smooth gradient on the frame.
The gradients of the frame and microphone were created in Photoshop. The icons were taken from the Roblox directory and enlarged: WorldModel
was corrected, while the Mic Error
was left with the defect for demonstration purposes.
This doesn’t seem to affect the final result, but if you notice any strange colors, the cause most likely lies in the original image.
Program Interface
Details about the interface and features of the project on GitHub
Download - GitHub
Download from the releases page, unzip and run GhostPixelFill.exe.
Or simply drag and drop PNG files onto this file, and the program will add them to the list automatically.
Alternatives
This PNG edge artifact issue has been discussed multiple times in the community:
- Topic by Corecii, who created Pixelfix
- Browser solution from by XAXA
- Tool Pixfix from by xSwezan
- Alternative methods were provided in an article by Quenty
- An in-depth explanation of the problem can be found in this article, which shows that the problem is not unique to Roblox.
About the Development Process
I initially built this tool before discovering the solution from xSwezan.
Honestly, had I found his version earlier, I wouldn’t have started my own. The original Pixelfix was too slow for my needs, but reimplementation in Rust solved that. Still, my own version was almost ready, so I decided to finish and publish it.
Also, his version helped me realize my algorithm needed performance tweaks. I don’t see the point in comparing speed, both tools perform well enough. It’s more a matter of preference.
Need a simple, no-frills solution? - Use Pixfix.
Need compression lvl or extra UI features? - Use GhostPixelFill.
Do you only have Apple devices or other needs? - Use Chipng(Browser).