Graphite: look at the canvas
graphite_previewRender the active Graphite document as a PNG image to preview without saving to disk. Use after adding artwork to check composition, alignment, and missing elements before iterating.
Instructions
Render the active document to a PNG and return it as an image so you can see what Graphite actually drew. Nothing is written to disk. Use it after inserting artwork to check composition, alignment and missing elements before iterating; default scale 0.5 keeps the image small. Fails with EXPORT_FAILED when the document has no layers and BRIDGE_TIMEOUT when rendering is slow (retry).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Raster scale relative to the document's pixel size. 0.5 is enough to judge composition; use 1 for detail. Larger previews cost more context. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | Yes | ||
| scale | Yes | ||
| width | Yes | Pixel width of the preview. | |
| height | Yes | Pixel height of the preview. |