ws-tex: image/icns (read RLE / ARGB / 1-bit / PNG-hook entries, JP2 skipped; write PNG via encodeImage or RLE)
Tested against libicns (png2icns / icns2png -x), Pillow's writer and a hand-written file.
This commit is contained in:
1 parent
ce4845ae13
commit
9e114fba8b
6 files changed
+519
No files matched your search
@@ -74,6 +74,18 @@ local list: { Entry } = {
|
||||
return require("@formats/image/hdr")
|
||||
end,
|
||||
},
|
||||
{
|
||||
name = "icns",
|
||||
category = "image",
|
||||
path = "image/icns",
|
||||
extensions = { "icns" },
|
||||
mime = { "image/icns", "image/x-icns" },
|
||||
deps = { "core/Err", "core/Bytes", "core/Sniff", "Types", "containers/Chunks" },
|
||||
caps = { decode = true, encode = true, alpha = true, frames = true, depths = { 1, 24, 32 } },
|
||||
load = function()
|
||||
return require("@formats/image/icns")
|
||||
end,
|
||||
},
|
||||
{
|
||||
name = "ico",
|
||||
category = "image",
|
||||
|
||||
Reference in new issue
Block a user