Image processing CLI for converting, inspecting, and transforming images in batch workflows.
$brew install imagemagick
Agent Compatibility
JSON Output
Agent Skill
MCP Support
AI Analysis
ImageMagick is a command-line image processing suite centered on the magick command plus helpers such as identify, mogrify, compare, and montage. It is built for repeatable file-based image work: conversion, resizing, compositing, metadata inspection, and scripted transforms across large batches.
What It Enables
- Convert between many image formats and apply scripted transforms such as resize, crop, rotate, blur, sharpen, annotate, and composite operations.
- Inspect image dimensions, color data, integrity, and other attributes with
identify, or write structured JSON metadata for downstream parsing. - Batch-process folders or scripted pipelines to generate thumbnails, derivatives, contact sheets, comparisons, and other repeatable image assets.
Agent Fit
- It works well in shell loops because commands are usually non-interactive, file-oriented, and documented with stable flags and exit behavior.
- Machine-readable support is real but uneven: JSON output exists as a format, while many common flows still default to dense text or file outputs that a skill should normalize.
- Best used as a local media primitive inside broader workflows where a skill encodes format choices, quality settings, naming rules, and safety checks.
Caveats
- The option surface is large, and available format features can vary with installed delegate libraries and the active security policy.
- Some subcommands such as
display,import, andanimatedepend on an X server or GUI context, so not every tool in the suite is equally suitable for headless automation.