jangko / nimPNG

PNG (Portable Network Graphics) decoder and encoder written in Nim
MIT License
90 stars 12 forks source link

expose more api,data type #53

Closed bung87 closed 4 years ago

jangko commented 4 years ago

This is a bad idea, there is no guarantee the internal working of nimPNG stay the same. As a workaround, I suggest you not to import nimPNG, but using include nimPNG in one of your module if you really need nimPNG internals. But be aware, in the future it may breaks.

bung87 commented 4 years ago

Thanks, true .include nimPNG is enough for me. btw https://github.com/bung87/zopflipng/blob/master/src/zopflipng.nim do you have any idea , that decode png and encode png results larger than original size with nimPNG ?