Native PNG decoder
Posted: Mon Jul 21, 2014 12:04 am
Absolutely pointless and slow, decodes PNGs by reading them byte by byte.
Many PNGs will not work, only some features are implemented.
native.love is pure Lua and has some borrowed libraries (credit and licenses in their respective scripts) anything over 256x256 or so will be extremely slow to decode.
zlib.zip will only work on Linux and has to be extracted. It contains zlib.so which makes decoding literally over 1,000 times faster. https://github.com/brimworks/lua-zlib
Many PNGs will not work, only some features are implemented.
native.love is pure Lua and has some borrowed libraries (credit and licenses in their respective scripts) anything over 256x256 or so will be extremely slow to decode.
zlib.zip will only work on Linux and has to be extracted. It contains zlib.so which makes decoding literally over 1,000 times faster. https://github.com/brimworks/lua-zlib