imagemagick is a package of programs and an interface library with an API
ImageMagick®, version 6.3.1, is a software suite to create, edit, and compose bitmap images. It can read, convert and write images in a variety of formats (about 100) including GIF, JPEG, JPEG-2000, PNG, PDF, PhotoCD?, TIFF, and DPX. Use ImageMagick? to translate, flip, mirror, rotate, scale, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.
ImageMagick? is free software delivered as a ready-to-run binary distribution or as source code that you can freely use, copy, modify, and distribute. Its license is compatible with the GPL. It runs on all major operating systems.
The functionality of ImageMagick? is typically utilized from the command line or you can use the features from programs written in your favorite programming language. Choose from these interfaces: MagickCore? (C), MagickWand? (C), ChMagick? (Ch), Magick++ (C++), JMagick? (Java), L-Magick (Lisp), nMagick (Neko/haXe), PascalMagick? (Pascal), PerlMagick? (Perl), MagickWand? for PHP (PHP), PythonMagick? (Python), RMagick? (Ruby), or TclMagick? (Tcl/TK). With a language interface, use ImageMagick? to modify or create images automagically and dynamically.
Most distros probably provide a package. If not, try (eg) ftp://ftp.imagemagick.org/pub/ImageMagick/linux/SRPMS/.
ImageMagick has the following man pages
- animate, compare, composite, conjure, convert,
- display, identify, import, mogrify, montage,
- ImageMagick, animate, compare, composite, conjure,
- convert, display, identify, import, mogrify, montage
In addition, there is extensive html manual rooted at (eg) file://localhost/usr/share/doc/ImageMagick-6.2.5/index.html. (You may have to arrange access via http:// to this location to get nicely formatted pages, though; some browsers are bugg`^H^H^H^H`fussy.). If you prefer, or your distro didn't include these docs, this documentation matches the entry page available at the imagemagick site mentioned earlier.
The command-line tools are (somewhat) fewer than the man pages:
- convert, identify, mogrify, composite, montage, * compare, display, animate, import, conjure
I find that the display program is the starting point I use. A file chooser is displayed if you don't provide an image filename on the command line. The general purpose menu is popped up by a left click in any displayed image, including the imagemagick splash screen.
Note that imagemagick will display xcf (gimp) files! and svg (inkscape) files too .. although note that all viewers seem to have some problems with some svg's.
Imagemagick doesn't have grab (screen capture), or the onscreen file-list when viewing multiple files, but sure seems like it might offer everything that xv does, and more.
The interactive interface is a bit klunky, but most serious uses of imagemagick tools probably use a command line (or programmatatic) interface. I believe it is widely used, in this manner.
There is a web-based interface that might serve as a tutorial/demo or even a real processing interface from a client that does not even have imagemagick installed. Try http://studio.webbyland.com/MagickStudio/scripts/MagickStudio.cgi.
I also found a nice site starting at Examples of ImageMagick? Usage http://www.cit.gu.edu.au/~anthony/graphics/imagick6/
This looks like another place to get an education!
Other places probably worth investigating might be:
- Shawn Wallace, ''Programming Web Graphics with Perl and GNU Software'' (out of print) ISBN: 1-56592-478-9
- Sohail Salehi, ''ImageMagick? Tricks'
- Review: ''Book review: ImageMagick? Tricks'' http://www.linux.com/article.pl?sid=06/09/29/1917210