@dusrel/image API
    Preparing search index...

    Function init

    @dusrel/image-quantize

    Colour quantization via the Rust quantizr crate (WASM, lazy-loaded): reduce an image to a palette of at most 256 colours plus per-pixel indices — the preparation step behind small palette PNGs. The engine is MIT-licensed quantizr, chosen to replace GPL libimagequant so this package stays MIT (docs/adr/0003 addendum).

    • Loads and instantiates the WASM ahead of first use.

      Parameters

      Returns Promise<void>