rotate_image
Rotate images by a specified angle in degrees to adjust orientation or create visual effects. Supports counter-clockwise rotation with optional canvas expansion.
Instructions
Rotate an image by a specified number of degrees.
Args: path: Absolute path to the image file. degrees: Rotation angle in degrees (counter-clockwise). expand: If True, expand the output to fit the full rotated image. output_path: Where to save. Defaults to _rotated..
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| degrees | Yes | ||
| expand | No | ||
| output_path | No |