Edit only
If you only edit and save, import from@reductoai/pptx/officejs. It needs no fonts and no layout.
Lay out and render
To paint a deck in a page, lay out its bytes withrunPptxPipeline from @reductoai/pptx/browser. Give the registry the faces first:
deck.toBytes() and lay out those bytes. Layout of a large deck takes time; run it in a module Web Worker so the page stays responsive.
EMF, WMF and SVG pictures
Node renders these natively. A page needs a rasterizer, for example@resvg/resvg-wasm. Install the backend once, before the first layout:
spawnWorker and serve the worker with serveMetafileRaster (same options as renderSvg).