1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-26 13:25:27 +01:00

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>
This commit is contained in:
hecks
2021-07-29 05:10:10 +02:00
committed by GitHub
parent 2866918f32
commit 80d12dbedb
9 changed files with 278 additions and 1 deletions

View File

@@ -15,4 +15,5 @@ set(UTIL_SRCS
${CMAKE_CURRENT_SOURCE_DIR}/string.cpp
${CMAKE_CURRENT_SOURCE_DIR}/srp.cpp
${CMAKE_CURRENT_SOURCE_DIR}/timetaker.cpp
${CMAKE_CURRENT_SOURCE_DIR}/png.cpp
PARENT_SCOPE)