A little proyect to remove an static background color from PNG using python.
This project is an extra-academic initiative that I implemented to make PNG images transparent, specifically for use in video games and other projects. how does it work? β Edit the image in Paint or another bitmap editor, replace the unwanted colors with the RGB tone (0,255,0) or pure green color. β Save the edited image as PNG. β Run the image transparency β Enter the folder that contains the image to be made transparent. Ex: C:\Users\example β Enter the Name of the image. Ex: image.png
Output: Image edited and replaced at the destination. (With transparent background)
-Actually Nothing. I evolved the app to an independent executable file.
- Created with Nuitka.
- Try to use python 3.12 to compile.
- Update your libraries (NumPy, opencv-python, pillow).
Compilation: nuitka --mode=standalone --windows-icon-from-ico=icon.ico --output-filename=BGKiller QuitarFondoStep2FromMeth.py
ββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββ