algonim
    Preparing search index...

    Type Alias GifOptions

    type GifOptions = {
        colorTableBits: number;
        allowSmallerTables: boolean;
        useLocalColorTables: boolean;
        loopCount: number | undefined;
        encodingBufferSize: number;
        logTiming: boolean;
        embedContent: Uint8Array | undefined;
        onlyDifferences: boolean;
    }
    Index

    Properties

    colorTableBits: number

    The value of gif/ColorTable!ColorTable.sizefield will be one less than this.

    allowSmallerTables: boolean

    Whether to automatically use color tables smaller than colorTableBits when possible.

    useLocalColorTables: boolean

    Whether to use a new color table for every image instead of using a single global color table.

    loopCount: number | undefined

    Number of times the animation should loop, from 0 (infinite) up to 65535. Infinity is treated as 0 and NaN is treated as 1. If left undefined, no Netscape 2.0 block will be added to the GIF and looping will be unspecified.

    encodingBufferSize: number

    Size of the temporary buffer used during encoding the GIF file. Only affects encoding performance.

    logTiming: boolean

    Whether timing info should be logged to the console.

    embedContent: Uint8Array | undefined

    Arbitrary bytes to embed into the image using an Algonim Application Extension block.

    onlyDifferences: boolean

    Whether to represent only differences in images instead of entire frames.