transform_layer
Apply a bounded 2D transform to a named layer using rotation, scaling, and pixel translation with an optional pivot, adjusting visible pixels without altering the canvas size.
Instructions
Apply a bounded, named-layer 2D transform without changing the canvas.
Rotation is in degrees. Translation and optional pivot coordinates are image pixels. The default pivot is the layer center. This changes visible pixels; it does not invent a new camera view or reveal hidden product surfaces.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pivot_x | No | ||
| pivot_y | No | ||
| scale_x | No | ||
| scale_y | No | ||
| layer_name | Yes | ||
| image_index | No | ||
| translate_x | No | ||
| translate_y | No | ||
| rotation_degrees | No |