I wrote up a simple wrapped around the existing engine to implement optipng as a Python C-Extension. I made minimal changes to the existing source, but nothing that actually changes the output of complining optipng itself. (A few preprocessor conditionals in the optipng.h header to remove some members of the opng_options struct that are only used in the main optipng.c file)
It's still a major WIP, but I figured I'd offer it and see if you were interested. I have a repository set up at https://github.com/Juntalis/PyOptiPng for the time being. Thanks.
Log in to post a comment.