GraphicsMagick
$ gm Foundation Med RiskGraphicsMagick (gm) is the performance- and stability-focused fork of ImageMagick 5.5. It namespaces subcommands under a single gm binary (gm convert, gm identify, gm composite, gm mogrify) and supports gm batch stdin command streams for zero-fork bulk image pipelines.
brew install graphicsmagick Batch raster conversions and gm identify metadata checks execute cleanly in local shell scripts without MCP.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Non-interactive with gm identify -format and gm batch stdin mode, but lacks JSON output, --dry-run, and modern --long flags.
- Supports
gm identify -formatandgm batch - No JSON output or
--dry-run
gm mogrify overwrites images in place by default, and delegate decoders carry legacy parser risks if fed untrusted files.
gm mogrifymutates files in-place unless-output-directoryis passed
Available via Homebrew, Linux packages, and Windows installers with stable ABI/CLI flags across decades.
- Available via
brew install graphicsmagickand OS packages
Fast OpenMP multi-threaded batch processing, though modern format support (AVIF/JXL) lags behind vips and ImageMagick 7.
- Supports
gm batchto avoid per-image process spawn overhead
Steady conservative maintenance on SourceForge by GraphicsMagick Group, focused on stability over new formats.
- Maintained by GraphicsMagick Group on SourceForge
Single-page monolithic HTML manual (GraphicsMagick.html) and gm help; older ImageMagick-5 flag conventions can confuse agents trained on magick v7.
- Documented in
GraphicsMagick.htmlandgm help
Security, Auth & Guardrails
None required; operates on local image files.
Free MIT-style open-source C binary.
# GraphicsMagick (gm) Agent Rules - Prefer `gm convert input output` over `gm mogrify`, because `gm mogrify` overwrites files in place. - Note that `gm` uses older ImageMagick-5 semantics and has fewer modern formats (like AVIF/JXL) than ImageMagick 7 or `vips`.
Agent-Ready Command Recipes
Safe Read-Only Queries
gm identify -format "%m %wx%h %b\n" image.png
Prints image format, pixel dimensions, and byte size without modifying the source file.
Controlled Writes & Previews
gm convert input.png -resize 1200x1200\> -quality 85 output.jpg
Downscales input.png only when larger than 1200px and writes a new output.jpg.
Strengths for Agents
- + Stable single
gmentrypoint avoids Linuxconvertbinary collisions. - + Supports
gm batchfor high-throughput stdin-driven image processing.
Caveats & Pitfalls
- !
gm mogrifymutates files in place unless-output-directoryis supplied. - ! Lacks modern codecs like AVIF and JPEG XL compared to
libvipsor ImageMagick 7.