krita_transform_layer
Resample a raster paint layer by scaling, rotating clockwise around a chosen pixel pivot, and translating it. Use this to directly modify pixel geometry.
Instructions
Resample one supported RGBA/U8/sRGB paint layer: scale then clockwise rotate around an explicit image-pixel pivot, then translate. This rewrites raster pixels with no guaranteed undo transaction; it is not a native transform mask. Reuse operation_id on retries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pivot | Yes | ||
| node_id | Yes | ||
| scale_x | No | ||
| scale_y | No | ||
| document_id | Yes | ||
| instance_id | Yes | ||
| translate_x | No | ||
| translate_y | No | ||
| operation_id | Yes | ||
| rotation_degrees | No |