PngOptions: {
    interlaced?: boolean;
    quantization_colors?: number;
    quantize?: boolean;
}

The PNG options

Type declaration

  • Optional interlaced?: boolean

    If true, enables interlaced PNG compression

  • Optional quantization_colors?: number

    Maximum number of quantization palette entries.

    Should be between 2 and 256.

  • Optional quantize?: boolean

    If true, enables PNG quantization.

Generated using TypeDoc