Rasterize a canvas at 1x / 2x / 4x / 8x / custom.
(canvas: HTMLCanvasElement, options?: { format?: ImageFormat; scale?: number; quality?: number; }) => string(x: ArrayLike<number>, y: ArrayLike<number>) => string(payload: unknown) => stringScene → single-page PDF 1.4 (real vector objects — catalog, pages, page, content stream, xref table, trailer — openable in any PDF viewer, not a screenshot embedded in a wrapper).
(graph: RenderGraph, width: number, height: number) => stringScene → SVG. Works without a GPU.
(graph: RenderGraph, width: number, height: number) => stringtype ImageFormat = ImageFormatGot any questions? I'm happy to help with products, licensing, and examples.