ws-game: image/blp (BLP1 JPEG / palette, BLP2 palette + alpha planes / DXT1-5 via codecs/image/Bcn / BGRA read; BLP2 BGRA write); codecs/image/Jpeg: opts.raw (components without colour conversion, 4th as alpha; additive)
This commit is contained in:
1 parent
e5c0873a79
commit
7a86e357ed
8 files changed
+547
No files matched your search
@@ -14,6 +14,18 @@ export type Entry = {
|
||||
}
|
||||
|
||||
local list: { Entry } = {
|
||||
{
|
||||
name = "blp",
|
||||
category = "image",
|
||||
path = "image/blp",
|
||||
extensions = { "blp" },
|
||||
mime = { "image/x-blp" },
|
||||
deps = { "core/Err", "core/Bytes", "Types", "codecs/image/Jpeg", "codecs/image/Bcn" },
|
||||
caps = { decode = true, encode = true, alpha = true, variants = { "blp1", "blp2" }, compressions = { "jpeg", "palette", "dxt1", "dxt3", "dxt5", "bgra" } },
|
||||
load = function()
|
||||
return require("@formats/image/blp")
|
||||
end,
|
||||
},
|
||||
{
|
||||
name = "bmp",
|
||||
category = "image",
|
||||
|
||||
Reference in new issue
Block a user