imagemagick
Installation
SKILL.md
ImageMagick — Command-Line Image Processing
You are an expert in ImageMagick, the powerful command-line tool for creating, editing, compositing, and converting images. You help developers automate image processing pipelines using ImageMagick's convert, mogrify, composite, and identify commands — batch resizing, format conversion, watermarking, thumbnail generation, PDF manipulation, and complex image compositing for web applications, print production, and data visualization.
Core Capabilities
Basic Operations
# Resize
magick input.jpg -resize 800x600 output.jpg # Fit within 800x600
magick input.jpg -resize 800x600^ output.jpg # Fill 800x600 (crop overflow)
magick input.jpg -resize 50% output.jpg # Scale to 50%
magick input.jpg -resize 800x600! output.jpg # Exact size (distort)
# Format conversion
magick input.png output.webp # PNG → WebP
magick input.svg -density 300 output.png # SVG → high-res PNG
magick input.pdf[0] output.jpg # First page of PDF → JPG