MiCompress
v0.1.3Compress images, PDFs, video, audio, documents & archives via micompress.com
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
compress_file Compress a file
Compress an image, PDF, video, audio file, document or archive and write the smaller version to disk. Returns the size before and after. The file is uploaded to micompress.com over HTTPS to be compressed.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute or relative path of the file to compress. |
max_width | integer | Images only: resize down to this width in pixels. |
output_path | string | Where to write the result. Defaults to the input path with a "-min" suffix. Pass the input path to overwrite in place. |
preset | string | lossless keeps quality identical; recommended (default) balances size and quality; extreme prioritises the smallest file. |
list_supported_formats List supported formats
List the file extensions that compress_file accepts, grouped by category.