Skip to main content
Glama

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
NameRequiredDescriptionDefault
pathYes
degreesYes
expandNo
output_pathNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Adityaaery20/media-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server