krita_get_layer_preview
Retrieve an inline PNG of a specific layer or group in a Krita document, showing only that layer's content within canvas bounds so you can inspect it independently.
Instructions
Return an inline PNG of the explicit layer/group projection within canvas bounds. Requires RGBA/U8/standard sRGB; preserves visibility and active layer. Other layers are excluded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | ||
| max_edge | No | ||
| document_id | Yes | ||
| instance_id | Yes |