ImageMagick Skill
Comprehensive image processing using ImageMagick via the imagemagick subcommand
of agentbox-mcp — a single Rust rmcp binary (services/agentbox-mcp) that
also serves the web-summary and gemini-url-context skills. It replaces the
former Python FastMCP server one-for-one: same tool names, parameters, and JSON
response shapes.
When to Use This Skill
- Convert between image formats (PNG, JPG, WebP, GIF, TIFF, BMP, SVG, PDF)
- Resize images for web optimisation or thumbnails
- Crop images to specific regions
- Apply filters and effects (blur, sharpen, colorize)
- Batch process multiple images
- Create image montages and composites
- Extract image metadata
- Add watermarks and overlays
When Not To Use
- For AI-generated images from text prompts -- use the comfyui skill instead
- For video or audio processing (transcode, cut, merge) -- use the ffmpeg-processing skill instead
- For 3D modelling and rendering -- use the blender skill instead
- For diagrams, flowcharts, or data visualisations -- use the mermaid-diagrams or report-builder skills instead
- For browser screenshots of web pages -- use the playwright or browser skills instead
Tools
| Tool |
Description |
create_image |
Create new image with specified dimensions and color |
convert_image |
Execute ImageMagick convert with custom arguments |
resize_image |
Resize to specified dimensions with aspect ratio control |
crop_image |
Crop to region with offset |
composite_images |
Overlay images for watermarks or composites |
identify_image |
Get image metadata and properties |
batch_process |
Bulk process images matching a pattern |
Examples
# Resize image to 800x600
resize_image({
"input_path": "/path/to/image.png",
"output_path": "/path/to/resized.png",
"width": 800,
"height": 600,
"maintain_aspect": True
})
# Convert PNG to optimized WebP
convert_image({
"args": ["input.png", "-quality", "85", "output.webp"]
})
# Batch generate thumbnails
batch_process({
"input_pattern": "/images/*.jpg",
"output_dir": "/thumbnails",
"operation": "thumbnail",
"width": 200
})
Environment Variables
| Variable |
Default |
Description |
IMAGEMAGICK_TIMEOUT |
300 |
Command timeout in seconds |
Host Discovery Integration
This skill exposes imagemagick://capabilities resource for discovery by the host project's MCP TCP client on port 9500.
Related skills
art for generating new editorial images; ImageMagick only transforms existing ones (convert, resize, crop, batch).
1---2name: imagemagick3description: Process and manipulate images with format conversion (PNG→JPG→WebP→GIF), resizing, cropping, filtering, batch operations, and image metadata extraction. Use for thumbnail generation, image optimisation, format conversion, watermarks, and bulk image processing tasks.4---56# ImageMagick Skill78Comprehensive image processing using ImageMagick via the `imagemagick` subcommand9of `agentbox-mcp` — a single Rust `rmcp` binary (`services/agentbox-mcp`) that10also serves the `web-summary` and `gemini-url-context` skills. It replaces the11former Python FastMCP server one-for-one: same tool names, parameters, and JSON12response shapes.1314## When to Use This Skill1516- Convert between image formats (PNG, JPG, WebP, GIF, TIFF, BMP, SVG, PDF)17- Resize images for web optimisation or thumbnails18- Crop images to specific regions19- Apply filters and effects (blur, sharpen, colorize)20- Batch process multiple images21- Create image montages and composites22- Extract image metadata23- Add watermarks and overlays2425## When Not To Use2627- For AI-generated images from text prompts -- use the comfyui skill instead28- For video or audio processing (transcode, cut, merge) -- use the ffmpeg-processing skill instead29- For 3D modelling and rendering -- use the blender skill instead30- For diagrams, flowcharts, or data visualisations -- use the mermaid-diagrams or report-builder skills instead31- For browser screenshots of web pages -- use the playwright or browser skills instead3233## Tools3435| Tool | Description |36|------|-------------|37| `create_image` | Create new image with specified dimensions and color |38| `convert_image` | Execute ImageMagick convert with custom arguments |39| `resize_image` | Resize to specified dimensions with aspect ratio control |40| `crop_image` | Crop to region with offset |41| `composite_images` | Overlay images for watermarks or composites |42| `identify_image` | Get image metadata and properties |43| `batch_process` | Bulk process images matching a pattern |4445## Examples4647```python48# Resize image to 800x60049resize_image({50 "input_path": "/path/to/image.png",51 "output_path": "/path/to/resized.png",52 "width": 800,53 "height": 600,54 "maintain_aspect": True55})5657# Convert PNG to optimized WebP58convert_image({59 "args": ["input.png", "-quality", "85", "output.webp"]60})6162# Batch generate thumbnails63batch_process({64 "input_pattern": "/images/*.jpg",65 "output_dir": "/thumbnails",66 "operation": "thumbnail",67 "width": 20068})69```7071## Environment Variables7273| Variable | Default | Description |74|----------|---------|-------------|75| `IMAGEMAGICK_TIMEOUT` | `300` | Command timeout in seconds |7677## Host Discovery Integration7879This skill exposes `imagemagick://capabilities` resource for discovery by the host project's MCP TCP client on port 9500.8081## Related skills8283- `art` for generating new editorial images; ImageMagick only transforms existing ones (convert, resize, crop, batch).