textmode.export.js / TextmodeExportAPI / saveGIF
Method: saveGIF()
ts
saveGIF(options?): Promise<void>;Records an animated GIF and saves it to disk.
Parameters
| Parameter | Type | Description |
|---|---|---|
options? | GIFExportOptions | Export options. |
Returns
Promise<void>
Example
ts
await t.saveGIF({ frameCount: 120, frameRate: 30, filename: 'loop' });