ws-tex: image/pcx (read 1/2/4/8-bit, planes, palettes; write 8-bit palette / 24 / 32-bit RLE)
Tested against netpbm ppmtopcx / ImageMagick / Pillow files decoded by pcxtoppm; our files read by ImageMagick. Shared test helper tests/image/_raster.luau and fixture helper tools/fixtures/_raster_ref.py.
This commit is contained in:
1 parent
abd01270f0
commit
d294c211f9
8 files changed
+614
No files matched your search
@@ -110,6 +110,18 @@ local list: { Entry } = {
|
||||
return require("@formats/image/ktx")
|
||||
end,
|
||||
},
|
||||
{
|
||||
name = "pcx",
|
||||
category = "image",
|
||||
path = "image/pcx",
|
||||
extensions = { "pcx", "pcc", "dcx" },
|
||||
mime = { "image/vnd.zbrush.pcx", "image/x-pcx" },
|
||||
deps = { "core/Err", "core/Bytes", "Types", "codecs/image/Pixels" },
|
||||
caps = { decode = true, encode = true, alpha = true, palette = true, depths = { 1, 2, 4, 8, 24, 32 } },
|
||||
load = function()
|
||||
return require("@formats/image/pcx")
|
||||
end,
|
||||
},
|
||||
{
|
||||
name = "png",
|
||||
category = "image",
|
||||
|
||||
Reference in new issue
Block a user