compress_local_image
Reduce file size of local images by compressing them, optionally preserving metadata, and saving in formats like JPEG, PNG, or WebP for optimized storage or sharing.
Instructions
Compress a local image file
Input Schema
Name | Required | Description | Default |
---|---|---|---|
imagePath | Yes | The ABSOLUTE path to the image file to compress | |
outputFormat | No | The format to save the compressed image file | |
outputPath | No | The ABSOLUTE path to save the compressed image file | |
preserveMetadata | No | The metadata to preserve in the image file |