algonim
    Preparing search index...

    Class Gif

    Index

    Constructors

    • Parameters

      • width: number
      • height: number

      Returns Gif

    Properties

    MAX_DIMENSION: number = ...

    Maximum width/height.

    width: number

    Width of the Logical Screen.

    height: number

    Height of the Logical Screen.

    blocks: Block[] = []

    Non-mandatory blocks that will be added to the GIF stream.

    The header, logical screen descriptor, global color table (if provided), and trailer are always in the output.

    globalColorTable: ColorTable | undefined = undefined
    backgroundColorIndex: number = 0
    pixelAspectRatio: number = 1.0
    colorBits: number = 0

    Number of bits per primary color available to the original image. This is entirely redundant and does not affect anything. Possibly it was included in the GIF specification as a joke.

    Methods

    • Parameters

      • label: number

      Returns "graphic rendering" | "control" | "special purpose" | undefined