set_transform
Move, scale, rotate, flip, or crop image layers to set position, size, orientation, and source framing on the canvas. Use width or height to resize proportionally.
Instructions
Move/scale/rotate (degrees, clockwise)/flip a layer. width or height = target size on the canvas (keeps proportions). crop=[x,y,w,h] in SOURCE pixels of an image layer ([] removes it).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| crop | No | ||
| layer | Yes | ||
| scale | No | ||
| width | No | ||
| flip_h | No | ||
| flip_v | No | ||
| height | No | ||
| project | No | ||
| rotation | No |