Skip to main content

Function: exportPNGSequence()

exportPNGSequence(scene, options): Promise<Blob[]>

Defined in: src/export/FrameExporter.ts:189

Export a range of the timeline as a PNG frame sequence.

The loop seeks to each frame time and captures the canvas, mirroring VideoExporter's frame loop. The result is one Blob per frame in order.

Parameters​

scene​

ExportableScene

The scene to capture

options​

PNGSequenceOptions

Sequence options (fps is required)

Returns​

Promise<Blob[]>

A Promise that resolves to the array of frame Blobs