SDK JS
    Preparing search index...

    Interface WebpDecoderOptions

    Construction options for WebpDecoder.

    interface WebpDecoderOptions {
        wasmInit?: WasmHostInit;
    }
    Index

    Properties

    Properties

    wasmInit?: WasmHostInit

    Overrides how the vendored WebP .wasm is located/loaded for this decoder; see WasmHostInit for the fields. Leave unset to use the SDK-global wasm resolution. The wasmByteswasmUrl ⇒ global wasmBaseUrl ⇒ build-default precedence is the SDK-wide wasm-host init contract, documented once on the core config (see BitruviusConfig.wasmBaseUrl). Set a wasmUrl for the cross-origin / CDN pattern.