@mocanvas/editor · interface

EditorImageExportOptions

interface EditorImageExportOptions extends EditorSvgExportOptions

This one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.


Properties · 3

format?: "svg" | "png" | "jpeg" | "webp"

Output format. Implementations default to "png".

pixelRatio?: number

Device pixel ratio multiplier for raster output.

quality?: number

Encoder quality for lossy formats (0..1).

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.