imgA-simple: image/pnm (PBM/PGM/PPM ASCII + binary, PAM, PFM; read/write, 16-bit, odd maxvals) against ImageMagick

This commit is contained in:
4DBug committed 2026-10-31 08:45:33 -05:00
1 parent 33fcea599d
commit 84c461f10d
6 files changed
+903

No files matched your search

+12
View File
@@ -26,6 +26,18 @@ local list: { Entry } = {
return require("@formats/image/png")
end,
},
{
name = "pnm",
category = "image",
path = "image/pnm",
extensions = { "pnm", "pbm", "pgm", "ppm", "pam", "pfm" },
mime = { "image/x-portable-anymap", "image/x-portable-bitmap", "image/x-portable-graymap", "image/x-portable-pixmap", "image/x-portable-arbitrarymap", "image/x-portable-floatmap" },
deps = { "core/Err", "core/Bytes", "Types" },
caps = { decode = true, encode = true, alpha = true, depths = { 1, 8, 16, 32 }, float = true },
load = function()
return require("@formats/image/pnm")
end,
},
{
name = "qoi",
category = "image",