Skip to main content
Glama

Imagician

by flowy11

resize_image

Adjust image dimensions precisely by specifying width, height, and fit options. Maintain aspect ratio or customize fit for desired output. Save resized images in supported formats.

Instructions

Resize an image to specified dimensions

Input Schema

NameRequiredDescriptionDefault
fitNoHow the image should be resized to fitcover
heightNoTarget height in pixels
inputPathYesPath to input image
outputPathYesPath to save resized image
preserveAspectRatioNoMaintain original aspect ratio
widthNoTarget width in pixels

Input Schema (JSON Schema)

{ "properties": { "fit": { "default": "cover", "description": "How the image should be resized to fit", "enum": [ "cover", "contain", "fill", "inside", "outside" ], "type": "string" }, "height": { "description": "Target height in pixels", "type": "number" }, "inputPath": { "description": "Path to input image", "type": "string" }, "outputPath": { "description": "Path to save resized image", "type": "string" }, "preserveAspectRatio": { "default": true, "description": "Maintain original aspect ratio", "type": "boolean" }, "width": { "description": "Target width in pixels", "type": "number" } }, "required": [ "inputPath", "outputPath" ], "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/flowy11/imagician'

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