convert_image_format
Convert an image to a different format, with optional resizing and JPEG quality adjustment.
Instructions
Convert an image to a different format with optional resizing.
Args: input_path: Path to input image output_path: Path for output image (format determined by extension) width: Optional new width in pixels height: Optional new height in pixels quality: JPEG quality (1-100)
Returns: Output path or error message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | ||
| height | No | ||
| quality | No | ||
| input_path | Yes | ||
| output_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |