png-compressor
    Preparing search index...

    Interface IPngMetadataSuggestedPalette

    A metadata entry that defines a suggested palette. Multiple suggested palettes can exist.

    interface IPngMetadataSuggestedPalette {
        entries: IPngMetadataSuggestedPaletteEntry[];
        name: string;
        sampleDepth: number;
        type: "sPLT";
    }
    Index

    Properties

    The entries of the palette.

    name: string

    The name of the palette

    sampleDepth: number

    The sample depth of the palette (8 or 16).

    type: "sPLT"

    The type of metadata, this is typically the name of the chunk from which is originates.