18 lines
1.1 KiB
Markdown
18 lines
1.1 KiB
Markdown
# Formats
|
|
|
|
GENERATED by `tools/gen_registry.py` from each format's contract (`caps`) - do not edit. Every format listed here
|
|
is tested under both runtimes (luau `--codegen -O2` and LuaJIT through the build) by `bash tools/test.sh`.
|
|
|
|
| Category | Format | Extensions | Read | Write | Capabilities | Test |
|
|
|---|---|---|---|---|---|---|
|
|
| image | png | .png .apng | yes | yes | animation: false, alpha: true, depths: 1, 2, 4, 8, 16 | `tests/image/png.luau` |
|
|
| layered | psd | .psd .psb | yes | yes | layers: true, groups: true, depths: 1, 8, 16, 32 | `tests/layered/psd.luau` |
|
|
| subtitle | ass | .ass .ssa | yes | yes | styles: true | `tests/subtitle/ass.luau` |
|
|
| subtitle | srt | .srt | yes | yes | styles: false | `tests/subtitle/srt.luau` |
|
|
| subtitle | vtt | .vtt .webvtt | yes | yes | styles: true | `tests/subtitle/vtt.luau` |
|
|
|
|
Codecs (layer 1, shared by formats; not loadable on their own):
|
|
|
|
- codecs/Blend: layer compositing on rgba8 buffers (straight alpha): source-over with the separable and non-separable
|
|
- codecs/Deflate: DEFLATE (RFC 1951) decoder and compressor, with the zlib (RFC 1950) and gzip (RFC 1952) wrappers.
|