@dusrel/image API
    Preparing search index...

    Function init

    @dusrel/image-oxipng

    Lossless PNG optimisation via the Rust oxipng crate (WASM, lazy-loaded): oxipng preset levels 0..6, metadata chunk stripping and the Adam7 interlace control the png crate's encoder lacks. Pixels are never changed — only the encoding gets smaller.

    • Loads and instantiates the WASM ahead of first use.

      Parameters

      Returns Promise<void>