textmode.export.js / TextmodeExportAPI / saveZip
Method: saveZip()
ts
saveZip(options): Promise<void>;Captures and downloads a deterministic frame sequence as a ZIP archive.
The archive contains a versioned manifest followed by one-based, zero-padded frame files. ZIP export is available through code only and does not appear in the export overlay.
Parameters
| Parameter | Type | Description |
|---|---|---|
options | ZIPExportOptions | Required archive format, deterministic capture controls, and per-frame exporter options. |
Returns
Promise<void>
A promise that resolves after the archive download is initiated.
Throws
When validation, capture, serialization, archive writing, or download fails.
Examples
ts
await t.saveZip({
format: 'png',
filename: 'orbit-frames',
frameCount: 120,
frameRate: 30,
frameOptions: { scale: 2 },
});