diff --git a/init.lua b/init.lua index 1a0bd47..dbf1d1d 100644 --- a/init.lua +++ b/init.lua @@ -1,5 +1,23 @@ tga_encoder = {} +tga_encoder.features = {} +tga_encoder.features.color_format = { + "A1R5G5B5", + "B8G8R8", + "B8G8R8A8", + "Y8", +} +tga_encoder.features.colormap = { +} +tga_encoder.features.compression = { + "RAW", + "RLE", +} +tga_encoder.features.scanline_order = { + "bottom-top", + "top-bottom", +} + local image = setmetatable({}, { __call = function(self, ...) local t = setmetatable({}, {__index = self})