magick
primary command for ImageMagick 7+, replacing separate commands like
TLDR
Convert image format
$ magick [input.png] [output.jpg]
Resize image$ magick [input.jpg] -resize [800x600] [output.jpg]
Create thumbnail$ magick [input.jpg] -thumbnail [100x100] [thumb.jpg]
Rotate image$ magick [input.jpg] -rotate [90] [output.jpg]
Add text watermark$ magick [input.jpg] -gravity south -annotate +0+10 "[text]" [output.jpg]
Batch convert$ magick mogrify -format jpg [*.png]
Create montage$ magick montage [*.jpg] -geometry +2+2 [montage.jpg]
SYNOPSIS
magick [options] input [operations] output
DESCRIPTION
magick is the primary command for ImageMagick 7+, replacing separate commands like convert, mogrify, and identify. It performs image manipulation including format conversion, resizing, and compositing.
The tool supports over 200 image formats and provides extensive transformation capabilities.
PARAMETERS
-resize geometry
Resize image.-crop geometry
Crop image.-rotate degrees
Rotate image.-flip
Flip vertically.-flop
Flip horizontally.-quality n
JPEG/PNG quality.-strip
Remove metadata.-colorspace space
Convert colorspace.-density dpi
Set resolution.-gravity type
Positioning reference.-annotate +x+y text
Add text.-composite
Combine images.
CAVEATS
Complex operations need quoting. Large images use much memory. Some formats have limitations. PDF support may need Ghostscript.
HISTORY
ImageMagick was created by John Cristy in 1987. The magick command was introduced in ImageMagick 7 (2016) to unify the various utility commands under a single interface.
