Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/wasm_image_decoder/wasm/wasm_image_decoder.d.ts>initSync

Decodes images using Rust's `image` crate compiled to WebAssembly
Latest
function initSync
import { initSync } from "https://deno.land/x/wasm_image_decoder@v0.0.7/wasm/wasm_image_decoder.d.ts";

Instantiates the given module, which can either be bytes or a precompiled WebAssembly.Module.

Parameters

optional
maybe_memory: WebAssembly.Memory