GIF Compressor
v0.1.0Inspect and compress local GIF files privately without uploading them.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
inspect_gif Inspect GIF
Inspect a local GIF file and return its size, dimensions, frame count, and animation status.
| Parameter | Type | Description |
|---|---|---|
input_path * | string | Absolute or working-directory-relative path to a GIF file. |
compress_gif Compress GIF
Compress a local GIF privately with Gifsicle. Supports presets, custom settings, and a target size.
| Parameter | Type | Description |
|---|---|---|
input_path * | string | Absolute or working-directory-relative path to a GIF file. |
colors | integer | Palette size from 2 to 256 colors. |
lossy | integer | Gifsicle lossy level from 0 to 200. |
optimize | integer | Gifsicle optimization level from 1 to 3. |
output_path | string | Optional output GIF path. Defaults to <name>-compressed.gif beside the input. |
overwrite | boolean | Allow replacing an existing output file. The input is never overwritten. |
preset | string | Compression preset. |
scale | number | Image scale from 0.1 to 1. |
target_mb | number | Optional target size in MB. The server progressively strengthens compression. |
batch_compress_gifs Batch Compress GIFs
Compress up to 20 local GIF files into an output directory.
| Parameter | Type | Description |
|---|---|---|
input_paths * | array | |
output_directory * | string | |
overwrite | boolean | |
preset | string | |
target_mb | number |