image_compress
Reduce image file size by compressing quality. Specify a quality level from 1 to 100 for local files or base64 input.
Instructions
Compress image quality to reduce file size.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quality | Yes | Compression quality from 1 to 100. | |
| fileData | No | Base64 encoded image data. | |
| filePath | No | Local path to the image file. | |
| outputPath | No | Optional local path to save the compressed image. |