zester4

imagemagick

Image manipulation using ImageMagick. Use for resizing, cropping, converting formats, applying effects, compositing, batch processing, creating montages, adding text/watermarks, and other image transformations.

zester4 1 Updated 1mo ago
GitHub

Install

npx skillscat add zester4/chusky/imagemagick

Install via the SkillsCat registry.

SKILL.md

ImageMagick Skill

Use the magick (or convert) command for powerful image processing.

Common operations

Resize

magick input.jpg -resize 800x600 output.jpg
magick input.jpg -resize 50% output.jpg

Convert format

magick input.png output.jpg

Crop

magick input.jpg -crop 400x300+100+50 output.jpg

Add text / watermark

magick input.jpg -gravity southeast -pointsize 24 -fill white -annotate +20+20 "Watermark" output.jpg

Create montage

magick montage img1.jpg img2.jpg img3.jpg -geometry +4+4 montage.jpg

Batch process

magick mogrify -resize 50% -path ./resized *.jpg

Tips

  • Prefer magick over the older convert command
  • Use -quality for JPEG compression control
  • For transparency, prefer PNG or WebP
  • Always preserve aspect ratio unless intentionally distorting