next up previous
Next: display
Up: Other Applications
Previous: Other Applications


ImageMagick

ImageMagick, is a collection of GUI and command line tools along with callable libraries allows you to read, write, and manipulate images in any of the more popular image formats including GIF, JPEG, TIFF, PNG and PDF.

There are two methods for accessing the capabilities of ImageMagick. Firstly you can incorporate its functionality directly into your own code by linking to the ImageMagick libraries, you can do this from several languages, including Perl, C, C++, Java and Python. More information can be found in the ImageMagick Users Guide .

You can also access ImageMagick functions directly from the command line using the display, import, animate, montage, convert, mogrify, identify, and combine tools. These tools allow powerful manipulations to be carried out on images in a manner understandable to anyone familiar with the UNIX way of doing things, for instance:

% convert file.jpg HISTOGRAM:- | display -

pipes the output of convert into the display application to get a intensity histogram for the image file.jpg. Here the use of ``-'' for the file specifier (for both convert and display) directs the applications to use standard input and output (i.e. streams).



Subsections

next up previous
Next: display
Up: Other Applications
Previous: Other Applications

The Graphics Cookbook
Starlink Cookbook 15
A. Allan, D. Terrett
22nd August 2000
E-mail:starlink@jiscmail.ac.uk

Copyright © 2013 Science and Technology Facilities Council