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

The PNG options

Type declaration

  • Optionalinterlaced?: boolean

    If true, enables interlaced PNG compression

  • Optionalquantization_colors?: number

    Maximum number of quantization palette entries.

    Should be between 2 and 256.

  • Optionalquantize?: boolean

    If true, enables PNG quantization.