krita_transform_canvas
Crop, resize, scale, rotate, or flip the entire canvas in a live Krita document, with dimensions bounded to 8192 pixels per side or 16 megapixels.
Instructions
Transform the entire document, bounded to 8192 per side/16 MP. Crop/resize require x,y,width,height; resize uses the new canvas rectangle in old image coordinates. Scale requires width,height and optional filter. Rotate requires degrees; flip requires axis and active document. Rejects unrelated fields and locked/animated nodes. Reuse operation_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| axis | No | ||
| width | No | ||
| action | Yes | ||
| filter | No | ||
| height | No | ||
| degrees | No | ||
| document_id | Yes | ||
| instance_id | Yes | ||
| operation_id | Yes |