rotate_image
Rotates an entire image by a specified angle, using lossless GIMP rotation for 90, 180, or 270 degrees and interpolated layer rotation with flattening for other angles.
Instructions
Rotate the entire image.
Parameters:
angle: Rotation in degrees — 90, 180, 270 use lossless GIMP rotation; other values rotate all layers with interpolation and flatten
image_index: Target image index (default 0)
Returns status dict.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| angle | Yes | ||
| image_index | No |