ThreePipe
    Preparing search index...

    Class ZipFrameSink

    Puts the frames of an image sequence in one zip, made when the recording stops. Works in every browser and needs no folder picker. All frames stay in memory until then, so a long recording at a large size needs a lot of it; a sink that writes each frame away (DirectoryFrameSink, or a function that uploads it) does not.

    The zip is downloaded, or given to onZip instead.

    Implements

    Index
    • Parameters

      • name: string = 'frames'

        the zip's file name, without .zip

      • OptionalonZip: (zip: File) => void | Promise<void>

        takes the zip instead of downloading it

      Returns ZipFrameSink

    name: string = 'frames'

    the zip's file name, without .zip

    onZip?: (zip: File) => void | Promise<void>

    takes the zip instead of downloading it