@dusrel/image API
    Preparing search index...

    Function resultToImageData

    @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).

    • Expands a QuantizeResult back into a full RGBA ImageData (pure).

      Parameters

      Returns ImageData