Skip to main content
Glama

Image Processing MCP Server

by duke0317

rotate_image

Rotate images by a specified angle, clockwise or counterclockwise, with options to expand canvas or fill background color for precise adjustments.

Instructions

旋转图片

Input Schema

NameRequiredDescriptionDefault
angleYes旋转角度(度),正值为顺时针,负值为逆时针
expandNo是否扩展画布以容纳旋转后的图片,False会裁剪
fill_colorNo填充颜色,十六进制格式如 #FFFFFF(白色)#FFFFFF
image_sourceYes图片源,可以是文件路径或base64编码的图片数据

Input Schema (JSON Schema)

{ "properties": { "angle": { "description": "旋转角度(度),正值为顺时针,负值为逆时针", "title": "Angle", "type": "number" }, "expand": { "default": true, "description": "是否扩展画布以容纳旋转后的图片,False会裁剪", "title": "Expand", "type": "boolean" }, "fill_color": { "default": "#FFFFFF", "description": "填充颜色,十六进制格式如 #FFFFFF(白色)", "title": "Fill Color", "type": "string" }, "image_source": { "description": "图片源,可以是文件路径或base64编码的图片数据", "title": "Image Source", "type": "string" } }, "required": [ "image_source", "angle" ], "title": "rotate_imageArguments", "type": "object" }

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/duke0317/ps-mcp'

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