png-compressor
    Preparing search index...

    Interface IPngPaletteInternal

    A png image's core palette. This must be present if the image's color type is 3 (indexed).

    interface IPngPaletteInternal {
        size: number;
        getRgb(colorIndex: number): Uint8Array;
        setRgba(data: Uint8Array, offset: number, colorIndex: number): void;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    Methods

    Properties

    size: number

    The number of entries in the palette.

    Methods