> For the complete documentation index, see [llms.txt](https://docs.kognitos.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kognitos.com/legacy/legacy-experience/automation-areas/image-manipulation/rotating-images.md).

# Rotating Images

To rotate an image, specify the angle and direction.

#### Rotate Clockwise

Example:

```
get the image
rotate the image with
    the angle is 90
    the direction is "clockwise"
```

This rotates the image 90 degrees clockwise.

#### Rotate Counter-Clockwise

Example:

```
get the image
rotate the image with
    the angle is 45
    the direction is "counter-clockwise"
```

This rotates the image 45 degrees counter-clockwise.
