test-1

Apache 2.0

resize_image

Resize image files to specified height and width using methods like fit, scale, cover, or thumb. Save output to a designated path for efficient image processing.

Instructions

Resize an image file

Input Schema

NameRequiredDescriptionDefault
heightYesThe height to resize the image to
imagePathYesThe ABSOLUTE path to the image file to resize
methodNoThe method describes the way your image will be resized.fit
outputPathNoThe ABSOLUTE path to save the resized image file
widthYesThe width to resize the image to

Input Schema (JSON Schema)

{ "properties": { "height": { "description": "The height to resize the image to", "example": 1024, "type": "number" }, "imagePath": { "description": "The ABSOLUTE path to the image file to resize", "example": "/Users/user/Downloads/image.jpg", "type": "string" }, "method": { "default": "fit", "description": "The method describes the way your image will be resized.", "enum": [ "scale", "fit", "cover", "thumb" ], "example": "fit", "type": "string" }, "outputPath": { "description": "The ABSOLUTE path to save the resized image file", "example": "/Users/user/Downloads/image_thumbnail.jpg", "type": "string" }, "width": { "description": "The width to resize the image to", "example": 1024, "type": "number" } }, "required": [ "imagePath", "width", "height" ], "type": "object" }

You must be authenticated.

Other Tools from test-1

Related Tools

ID: 18korksmvb