Opentoonz Draw Frame
opentoonz_draw_frameDraw an RGBA frame using shapes, lines, text, or a composite PNG, then save it as an OpenToonz level drawing ready to import into a scene.
Instructions
Draw one RGBA frame with PIL primitives and save it as a level drawing.
ops: list of {"op": "rect|ellipse|line|polygon|polyline|text|image", ...} — see docs/tools.md. The "image" op composites an existing PNG, so art made elsewhere can join a drawn frame. Saved to /drawings/<level_name>..png, ready for opentoonz_import_images_as_level.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ops | Yes | ||
| frame | No | ||
| width | No | ||
| height | No | ||
| workspace | Yes | ||
| background | No | #181a2e | |
| level_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |