imgA-simple: image/tga (types 1/2/3/9/10/11, 8-32 bit, colour maps, origins; raw/RLE writer with TGA 2.0 footer) against Pillow / ImageMagick

This commit is contained in:
4DBug committed 2026-10-31 08:48:55 -05:00
1 parent 84c461f10d
commit f2e15af64d
6 files changed
+629

No files matched your search

+12
View File
@@ -50,6 +50,18 @@ local list: { Entry } = {
return require("@formats/image/qoi")
end,
},
{
name = "tga",
category = "image",
path = "image/tga",
extensions = { "tga", "icb", "vda", "vst", "tpic" },
mime = { "image/x-tga", "image/x-targa" },
deps = { "core/Err", "core/Bytes", "Types" },
caps = { decode = true, encode = true, alpha = true, palette = true, depths = { 8, 15, 16, 24, 32 } },
load = function()
return require("@formats/image/tga")
end,
},
}
return list