]> git.lizzy.rs Git - dragonfireclient.git/commit
Add a simple PNG image encoder with Lua API (#11485)
authorhecks <42101236+hecktest@users.noreply.github.com>
Thu, 29 Jul 2021 03:10:10 +0000 (05:10 +0200)
committerGitHub <noreply@github.com>
Thu, 29 Jul 2021 03:10:10 +0000 (05:10 +0200)
commit80d12dbedb67191a5eb3e4f3c36b04baed1f8afb
treeca8346be45852e0c08f444f8a8eb6c0cdfd37e39
parent2866918f3293c486609ff46ad0bfa5ce833aaaf2
Add a simple PNG image encoder with Lua API (#11485)

* Add a simple PNG image encoder with Lua API
Add ColorSpec to RGBA converter
Make a safety wrapper for the encoder
Create devtest examples

Co-authored-by: hecktest <>
Co-authored-by: sfan5 <sfan5@live.de>
.gitignore
builtin/game/misc.lua
doc/lua_api.txt
games/devtest/mods/testnodes/textures.lua
src/script/lua_api/l_util.cpp
src/script/lua_api/l_util.h
src/util/CMakeLists.txt
src/util/png.cpp [new file with mode: 0755]
src/util/png.h [new file with mode: 0755]