ImageMagick is a freely available, robust collection of tools and libraries to read, write, and manipulate an image in many image formats (over 90 major formats) including popular formats like TIFF, JPEG, PNG, PDF, PhotoCD, and GIF. With ImageMagick you can create images dynamically, making it suitable for Web applications. You can also resize, rotate, sharpen, color reduce, or add special effects to an image or image sequence and save your completed work in the same or differing image format. Image processing operations are available from the command line, or from the C, C++, Perl, Java, PHP, Python, or Ruby programming languages. A high-quality 2D renderer is included, which provides a subset of SVG capabilities. ImageMagick’s focus is on performance, minimizing bugs, and providing stable APIs and ABIs.
Availability and Setup
ImageMagick is available on the Shared Computing Cluster (SCC) and is composed of the following separate applications:
display is a machine architecture independent image processing and display facility. It can display an image on any workstation display running an X server.
import reads an image from any visible window on an X server and outputs it as an image file. You can capture a single window, the entire screen, or any rectangular portion of the screen.
montage creates a composite by combining several separate images. The images are tiled on the composite image with the name of the image optionally appearing just below the individual tile.
convert converts an input file using one image format to an output file with the same or differing image format while applying an arbitrary number of image transformations.
mogrify transforms an image or a sequence of images. These transforms include image scaling, image rotation, color reduction, and others. The transmogrified image overwrites the original image.
identify describes the format and characteristics of one or more image files. It will also report if an image is incomplete or corrupt.
composite composites images (blends or merges images together) to create new images.
compare compare an image to a reconstructed image.
conjure interprets and executes scripts in the Magick Scripting Language (MSL).
Running any of the above commands with no arguments will indicate what command-line arguments each tool supports. ImageMagick supports a very broad variety of image formats. A very extensive help page on ImageMagick in general and with links to separate pages for each of the tools is also available.
For more information on ImageMagick, visit ImageMagick’s website.
An online ImageMagick tuorial entitled “Graphics from the command line” is also available.