convert_format
Convert an image file to PNG, JPEG, or WebP by providing its path and desired format. JPEG gets a white background for transparent areas.
Instructions
Convert an image between PNG, JPEG and WebP. JPEG gets a white background where the source is transparent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | Target format | |
| image_path | Yes | Local path to the image |