--!strict -- Registry: GENERATED by tools/gen_registry.py from the format folders - do not edit. -- One entry per format: the contract metadata (copied from its init.luau) and load(), which requires the format -- module on first use (a static require, as Roblox needs). Order: category, then name. export type Entry = { name: string, category: string, path: string, extensions: { string }, mime: { string }, deps: { string }, caps: { [string]: any }, load: () -> any, } local list: { Entry } = { { name = "png", category = "image", path = "image/png", extensions = { "png", "apng" }, mime = { "image/png", "image/apng" }, deps = { "core/Err", "core/Bytes", "core/Crc32", "codecs/Deflate", "Types" }, caps = { decode = true, encode = true, animation = false, alpha = true, depths = { 1, 2, 4, 8, 16 } }, load = function() return require("@formats/image/png") end, }, { name = "aiff", category = "audio", path = "audio/aiff", extensions = { "aiff", "aif", "aifc", "afc" }, mime = { "audio/aiff", "audio/x-aiff" }, deps = { "core/Err", "core/Bytes", "Types", "codecs/Pcm" }, caps = { decode = true, encode = true, streaming = true, depths = { 8, 16, 24, 32 }, float = true, lossy = false }, load = function() return require("@formats/audio/aiff") end, }, { name = "au", category = "audio", path = "audio/au", extensions = { "au", "snd" }, mime = { "audio/basic", "audio/x-au" }, deps = { "core/Err", "core/Bytes", "Types", "codecs/Pcm" }, caps = { decode = true, encode = true, streaming = true, depths = { 8, 16, 24, 32 }, float = true, lossy = false }, load = function() return require("@formats/audio/au") end, }, { name = "voc", category = "audio", path = "audio/voc", extensions = { "voc" }, mime = { "audio/x-voc" }, deps = { "core/Err", "core/Bytes", "Types", "codecs/Pcm" }, caps = { decode = true, encode = true, streaming = true, depths = { 8, 16 }, lossy = false }, load = function() return require("@formats/audio/voc") end, }, } return list