# Rotate image

- Human page: https://happytails.ai/en/image-tools/rotate-image/
- Markdown: https://happytails.ai/en/image-tools/rotate-image.md
- Structured JSON: https://happytails.ai/agents/en/image-tools/rotate-image/index.json
- Visibility: public

## Tool capabilities

| Property | Value |
| --- | --- |
| Tool ID | `rotate-image` |
| Category | image-tools |
| Implementation | Registered implementation. Registration alone is not a production-quality guarantee. |
| Browser execution | Use the visible action or interactive controls. |
| Browser processing | Browser; see tool notes for network behavior. |
| HTTP API | Not callable through HTTP. |
| Browser-agent interface | run_current_tool |

### Implementation notes

Runs in your browser. Animated inputs produce a single still image. Supported decoding depends on your browser.

### Inputs and settings

No free-text input is required. Use the file inputs and/or settings below.

Accepted browser files: `image/*,.svg,.avif`. Choose one file.

| Setting | Meaning | Control type | Default | Constraints |
| --- | --- | --- | --- | --- |
| `angle` | Rotation | select | "0" | Allowed: 0, 90, 180, 270 |
| `flip` | Mirror horizontally | checkbox | false |  |

### Browser-agent workflow

1. Open the human page in a browser that supports WebMCP.
2. Discover the interface exposed by that page; use its actual schema.
3. Select files on the page first when the tool requires files.
4. Call `run_current_tool` with valid input and settings.
5. Inspect the returned result or error and the displayed output. Retrieve files from the displayed download links.

Calls do not automatically copy or download results. Browser permissions still apply. Interface availability alone is not proof of successful execution.

### Planning specification

Rotate and mirror with explicit controls; explain re-encoding and orientation metadata.

This describes intended requirements. Use the implementation notes, interface schema and observed output to determine current support.

### Complete machine-readable capability record

```json
{
  "id": "rotate-image",
  "category": "image-tools",
  "built": true,
  "requirements": "Rotate and mirror with explicit controls; explain re-encoding and orientation metadata.",
  "implementation": {
    "fields": [
      {
        "key": "angle",
        "label": "Rotation",
        "value": "0",
        "type": "select",
        "values": [
          "0",
          "90",
          "180",
          "270"
        ]
      },
      {
        "key": "flip",
        "label": "Mirror horizontally",
        "value": false,
        "type": "checkbox"
      }
    ],
    "files": true,
    "accept": "image/*,.svg,.avif",
    "input": false,
    "note": "Runs in your browser. Animated inputs produce a single still image. Supported decoding depends on your browser.",
    "experience": {
      "automatic": false,
      "single": false,
      "label": "Your text",
      "placeholder": "Type or paste your input…",
      "help": "Up to 1,000,000 characters. Review the settings before running.",
      "action": null
    },
    "mode": "explicit",
    "interactive": false
  },
  "execution": "Browser interface",
  "api": null,
  "browser_agent": {
    "supported": true,
    "name": "run_current_tool",
    "discovery": "WebMCP on the human page in a supporting browser",
    "verification": "See audit/API-AUDIT.md; availability is not verification"
  }
}
```

## Page guide

Turn an image by 90, 180, or 270 degrees.

## Useful next steps

- [Crop image](https://happytails.ai/en/image-tools/crop-image/): Crop a rectangular area from your image. ([Markdown](https://happytails.ai/en/image-tools/crop-image.md))

- [Resize image](https://happytails.ai/en/image-tools/resize-image/): Resize an image to the dimensions you need. ([Markdown](https://happytails.ai/en/image-tools/resize-image.md))

- [Remove metadata](https://happytails.ai/en/image-tools/remove-metadata/): Create a fresh image copy without the original embedded metadata. ([Markdown](https://happytails.ai/en/image-tools/remove-metadata.md))

## How to use Rotate image

1. Choose a file in an image format your browser can open.
2. Review the settings, then choose Run Rotate image.
3. Review the result, then use Copy result or a download link when available.

## What to expect

Turn an image by 90, 180, or 270 degrees. Choose the angle, preview the rotated image, and download a PNG copy.
