Render a slide to an image
render_slideConverts a GlideDeck slide or whole canvas to PNG, returning the image to check layout, overflow, and contrast and optionally save it.
Instructions
Renders a slide (1-based step; 0 = the whole canvas) to a PNG and returns it, so you can check layout, overflow and contrast. Optionally also saves it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The GlideDeck project file (.glide.json). Absolute, or relative to the server's folder; `.glide.json` is added when there is no extension. | |
| step | No | ||
| width | No | ||
| save_to | No | Optional .png path to also write. |