@dusrel/image API
    Preparing search index...

    Function initEncode

    @dusrel/image-webp

    libwebp codec (WASM, lazy-loaded). Separate encode/decode entries. The WASM artifacts live in this package's codec/ folder and are built reproducibly from webmproject/libwebp v1.6.0 (see native/webp).

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

      Parameters

      Returns Promise<void>