GraphicsMagick Utilities

GraphicsMagick provides a powerful command line utility which may be used to access all GraphicsMagick functions. Gm uses a consistent set of options (see options documentation). GraphicsMagick provides access to major command modes via a single executable command-line program called gm; for example, to use the "convert" mode, type gm convert .... The available command modes and links to their documentation are shown in the following table:

GM Command Mode Description
gm animate animate a sequence of images
gm composite composite images together
gm conjure execute a Magick Scripting Language (MSL) XML script
gm compare compare two images using statistics and/or visual differencing
gm convert convert an image or sequence of images
gm display display an image on a workstation running X
gm identify describe an image or image sequence
gm import capture an application or X server screen
gm mogrify transform an image or sequence of images
gm montage create a composite image (in a grid) from separate images

The gm utility makes it easy to perform complex image processing operations using a single command. It may be invoked from scripts, or from other programs in order to automate the processing of thousands of images.

Copyright © GraphicsMagick Group 2002 - 2008