Takes all fully transparent pixels in a PNG and sets their colors to the nearest non-transparent pixel's color without altering their alpha value.
- Pillow
- SciPy
- Joblib
- Install with:
pip install -r requirements.txt
This Python script works in a very simple manner, it takes all of it's arguments and, if they are valid image files, will overwrite them with a "pixelfixed" version.
- "Pixelfixing" a single image
python3 main.py example1.png
- "Pixelfixing" multiple image files
python3 main.py example1.png example2.png example3.png