ws-tex: image/sgi + image/sunras (read + write)

SGI: verbatim / RLE, 1-2 bytes per channel, 1-4 channels (rgba16 native); write RGB(A) RLE / verbatim.
Sun Raster: 1 / 8 / 24 / 32-bit, standard / byte-encoded / RGB types, colour maps; write 24 / 32-bit.
References: ImageMagick, netpbm (sgitopnm-era writers, rasttopnm), Pillow.
This commit is contained in:
4DBug committed 2026-10-31 14:52:47 -05:00
1 parent d294c211f9
commit 403a4d6f31
10 files changed
+745

No files matched your search

+4
View File
@@ -132,6 +132,10 @@ end
local function simple(): any
if which == "pcx" then
return require("@formats/image/pcx")
elseif which == "sgi" then
return require("@formats/image/sgi")
elseif which == "sunras" then
return require("@formats/image/sunras")
end
return nil
end