>_ CLI Index
← Back

ImageMagick

Recommended v7.1

Powerful command-line tool for image creation, editing, and conversion

Agent Support
3/5
Platforms
macoslinuxwindows

Agent Usage Example

shell
magick input.png -resize 800x600 -quality 85 output.jpg

Installation

brew install imagemagick

ImageMagick is the definitive command-line image processing suite, supporting over 200 image formats. It can resize, crop, rotate, adjust colors, composite layers, add text, apply filters, and convert between formats — handling everything from simple thumbnails to complex multi-layer compositions.

AI agents use ImageMagick for image manipulation tasks that complement AI-generated content: resizing outputs to specific dimensions, converting between formats, creating image montages, adding watermarks, and optimizing file sizes for web delivery. Its magick command (v7+) provides a unified interface for all operations.

The tool’s operator chaining allows complex transformations in a single command — reading an image, applying multiple effects, and writing the result without intermediate files. ImageMagick also supports batch processing via its mogrify command, scripted workflows through its built-in scripting language, and pixel-level operations for tasks that require precise image analysis.

Related Tools