merge master into ws/videoctl
This commit is contained in:
commit
f7c8abc1b4
24 files changed
+16704
-1565
No files matched your search
+1
-1
@@ -24,7 +24,7 @@ come back as a third value `{ [file name] = buffer }` (or in the caller's `opts.
|
||||
| `F.save(value, dest?, opts?)` | `buffer` / `true` (+ the extra files, see above) |
|
||||
| `F.saveString(value, opts?)` | the encoded bytes as a string |
|
||||
| `F.convert(src, format, opts?)` | load + save (`opts` go to both; `opts.out = path` writes a file) |
|
||||
| `F.detect(src, opts?)` | the format name (content sniffing first, then the extension); a format's optional `variant(r)` can name the flavour (`"webm"` for a WebM file read by mkv) |
|
||||
| `F.detect(src, opts?)` | the format name (content sniffing first, then the extension); a format's optional `variant(r)` can name the flavour (`"webm"` for a WebM file read by mkv). Sniffing loads no format module (the generated `Sniffs.luau`); `load` / `open` / `save` load only the format they use |
|
||||
| `F.formats(category?)` | `{ { name, category, extensions, mime, caps } }` without loading any format (also [FORMATS.md](FORMATS.md)) |
|
||||
| `F.format(name)` | the format module itself (`sniff` / `decode` / `encode` / `open` and extras such as `png.info`) |
|
||||
|
||||
|
||||
Reference in new issue
Block a user