Skip to content

Bugadinho/pyPixelfix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyPixelfix

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.

Requirements

  • Pillow
  • SciPy
  • Joblib
  • Install with:
pip install -r requirements.txt

Usage

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

Based on:

License

Releases

No releases published

Packages

No packages published

Languages