forked from maxme/PNG-Alpha-Premultiplier
-
Notifications
You must be signed in to change notification settings - Fork 0
mattui/PNG-Alpha-Premultiplier
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
What ? ====== This tool permits to convert non-premultiplied alpha png file to its premultiplied equivalent. Note: The python version is 100 times slower than the C version. Requirements ============ - Python version requires numpy and PIL - C version requires libpng How to run the Python version ============================= $ python NPMApng2PMApng.py in.png out.png How to compile and run the C version ==================================== edit the configure.mk file to make CONF_INCS and CONF_LIBS links to your libpng installation directory. $ make $ ./NPMApng2PMApng in.png out.png
About
Convert non-premultiplied alpha png file to its premultiplied equivalent.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- C 85.2%
- Python 14.8%