Closed bung87 closed 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 ?
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.