Skip to Content

Function: initResvgWasm()

function initResvgWasm(wasm?: ResvgWasmInput): Promise<void>;

Initialize the resvg WebAssembly runtime used by convertPptxToPng.

Parameters

wasm?

ResvgWasmInput

Optional WebAssembly bytes or response. When omitted, the Node.js renderer loads its bundled module.

Returns

Promise<void>

A promise that resolves after initialization.