Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

GraphicsMagick

$ gm Foundation Med Risk
GraphicsMagick Group · AI & Media · MIT · macos / linux / windows

GraphicsMagick (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.

FCRS-1.0 Score
73 /100
Usable w/ Caveats
Medium Confidence
Zero-Friction Install
brew install graphicsmagick
CLI vs MCP Decision CLI Only

Batch raster conversions and gm identify metadata checks execute cleanly in local shell scripts without MCP.

Agent-Readiness Checklist

— JSON Output
✓ Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
✓ NO_COLOR Clean
— Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 16 / 25

Non-interactive with gm identify -format and gm batch stdin mode, but lacks JSON output, --dry-run, and modern --long flags.

  • Supports gm identify -format and gm batch
  • No JSON output or --dry-run
Trust & Safety 18 / 25

gm mogrify overwrites images in place by default, and delegate decoders carry legacy parser risks if fed untrusted files.

  • gm mogrify mutates files in-place unless -output-directory is passed
Setup & Portability 13 / 15

Available via Homebrew, Linux packages, and Windows installers with stable ABI/CLI flags across decades.

  • Available via brew install graphicsmagick and OS packages
Utility & Efficiency 13 / 15

Fast OpenMP multi-threaded batch processing, though modern format support (AVIF/JXL) lags behind vips and ImageMagick 7.

  • Supports gm batch to avoid per-image process spawn overhead
Maintenance & Lineage 7 / 10

Steady conservative maintenance on SourceForge by GraphicsMagick Group, focused on stability over new formats.

  • Maintained by GraphicsMagick Group on SourceForge
Docs & Verifiability 6 / 10

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.html and gm help

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

None required; operates on local image files.

Side Effects
Read-Only Local Write Destructive
Cost & Quotas

Free MIT-style open-source C binary.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

Inspect image format and dimensions
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

Resize and convert an image to JPEG
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 gm entrypoint avoids Linux convert binary collisions.
  • + Supports gm batch for high-throughput stdin-driven image processing.

Caveats & Pitfalls

  • ! gm mogrify mutates files in place unless -output-directory is supplied.
  • ! Lacks modern codecs like AVIF and JPEG XL compared to libvips or ImageMagick 7.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI