@dusrel/image API
    Preparing search index...

    Function initEncode

    @dusrel/image-png

    PNG codec via the Rust png crate (WASM, lazy-loaded). Separate encode/decode entries, each built from the same crate with a different cargo feature (see native/rust). Lossless: the encode options trade CPU and size, never pixels.

    • Loads and instantiates the encoder WASM ahead of first use.

      Parameters

      Returns Promise<void>