export_to_png
Convert Excalidraw drawings to PNG format. Customize output with quality, scale, dark mode, and background settings. Ideal for sharing or embedding high-quality visuals.
Instructions
Export an Excalidraw drawing to PNG
Input Schema
Name | Required | Description | Default |
---|---|---|---|
exportBackground | No | ||
exportWithDarkMode | No | ||
id | Yes | ||
quality | No | ||
scale | No |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"exportBackground": {
"default": true,
"type": "boolean"
},
"exportWithDarkMode": {
"default": false,
"type": "boolean"
},
"id": {
"minLength": 1,
"type": "string"
},
"quality": {
"default": 0.92,
"maximum": 1,
"minimum": 0,
"type": "number"
},
"scale": {
"default": 1,
"maximum": 5,
"minimum": 0.1,
"type": "number"
}
},
"required": [
"id"
],
"type": "object"
}