gimp_path
Create, select, stroke, fill, or delete vector paths in GIMP images using line and bezier strokes, then apply them to layers with color and width.
Instructions
Vector paths. action='create' (image_id, strokes=[{type:'line'|'bezier', points:[[x,y],...], closed:bool}]; bezier points after the first are control1, control2, anchor triples), 'select' (path to selection), 'stroke' (draw it on layer_id with color and width), 'fill' (fill it on layer_id), 'delete'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | replace | |
| name | No | ||
| color | No | ||
| width | No | ||
| action | No | create | |
| path_id | No | ||
| strokes | No | ||
| image_id | No | ||
| layer_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||