ImageMagick-6.2.8-0

Introduction to ImageMagick

ImageMagick is a collection of tools and libraries to read, write, and manipulate an image in various image formats. Image processing operations are available from the command line. Bindings to various programming languages are also available.

Package Information

The ImageMagick source releases are updated frequently and the version shown above may no longer be available from the download locations. You can download a more recent version and use the existing BLFS instructions to install it. Chances are that it will work just fine, but this has not been tested by the BLFS team. If the package version shown above is not available from the locations shown above, you can download it from the BLFS package server at http://anduin.linuxfromscratch.org/sources/BLFS/6.2.0/i/ImageMagick-6.2.8-0.tar.bz2.

ImageMagick Dependencies

Recommended

The optional dependencies listed below should be installed if you need support for the specific format or the conversion tool the dependency provides. Many of the dependencies' capabilities and uses are described in the “MAGICK DELEGATES” section of the README.txt file located in the source tree. Additional information about the dependencies can be found in the Install-unix.txt file located in the source tree as well as issuing the ./configure --help command. A summary of this information, as well as some additional notes can be viewed on-line at http://www.imagemagick.org/script/advanced-unix-installation.php.

Optional System Utilities

pkg-config-0.20, CUPS-1.2.7 or LPRng-3.8.28 (or any other print utility that provides an lpr command), dcraw, Dmalloc, Electric Fence, PGP or GnuPG-1.4.3 (you'll have to do some hacking to use GnuPG), SANE-1.0.17, and Wget-1.10.2

Optional Graphics Libraries

corefonts, FlashPIX (or FlashPIX library), FreeType-2.1.10, Jasper, JBIG-KIT, little cms-1.15, libexif-0.6.13, libjpeg-6b, libpng-1.2.12, librsvg-2.14.4, LibTIFF-3.8.2, libxml2-2.6.26, and RALCGM (or RALCGM-3.50)

Optional Graphics Utilities

ESP Ghostscript-8.15.2 or AFPL Ghostscript-8.53, GhostPCL, GIMP-2.2.12, Gnuplot, Graphviz-2.8 (requires a >2.8 development snapshot), POV-Ray, and Radiance

Optional Conversion Tools

AutoTrace, Enscript-1.6.4, hp2xx, html2ps, libwmf, MPEG-2 Video Codec, Netpbm, teTeX-3.0, Transfig, txt2html (requires Module::Build-0.2801 and Perl Module Getopt::ArgvFile), and Utah Raster Toolkit (or URT-3.1b)

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/imagemagick

Installation of ImageMagick

Install Imagemagick by running the following commands:

sed -i "s/\xc3\xa9/\\\\['e]/" utilities/ImageMagick.1 &&
./configure --prefix=/usr --with-modules &&
make

To test the results, issue: make check. Note that some of the tests may fail due to system and/or build parameter settings. In a recent test build performed on a current LFS SVN (20060508) platform with all the delegate dependencies installed, 11 of the 714 tests failed.

Now, as the root user:

make install

Command Explanations

sed -i "s/\xc3\xa9/\\\\['e]/" utilities/ImageMagick.1: One man page is installed with character encoding not displayable using the Man-db package. This command changes the offending bytes to characters man can properly display.

--with-modules: Enables support for dynamically loadable modules.

--with-gslib=/usr/lib: Enables support to use the Ghostscript shared library.

--with-fpx: Enables support to use the FlashPix library.

--with-windows-font-dir=<Some/Directory>: This option specifies the directory where the Windows CoreFonts are installed.

The options and parameters listed above are the only ones you should have to pass to the configure script to activate all the delegate dependencies. All other dependencies will be automatically detected and utilized in the build if they are installed.

Contents

Installed Programs: animate, compare, composite, conjure, convert, display, identify, import, Magick-config, Magick++-config, mogrify, montage, and Wand-config
Installed Libraries: libMagick.{so,a}, libMagick++.{so,a}, libWand.{so,a}, the Magick.so Perl module, and numerous plugin modules
Installed Directories: /usr/include/Magick++, /usr/include/magick, /usr/include/wand, /usr/lib/ImageMagick-6.2.8, /usr/lib/perl5/site_perl/5.8.8/i686-linux/auto/Image/Magick, /usr/share/ImageMagick-6.2.8 and /usr/share/doc/ImageMagick-6.2.8

Short Descriptions

animate

animates a sequence of images.

compare

compares an image to a reconstructed image.

composite

composites various images into the given base image.

conjure

processes a MSL script to create an image.

convert

converts image(s) from one format to another.

display

displays an image.

identify

describes the format and characteristics of an image file.

import

captures an X window.

Magick-config and Magick++-config

show information about the installed versions of ImageMagick and Magick++.

mogrify

transforms an image.

montage

composites various images into a new image.

Wand-config

shows the options required to use the Wand library.

Image::Magick

allows the reading, manipulation and writing of a large number of image file formats using the ImageMagick library. Run make in the PerlMagick/demo directory of the package source tree after the package is installed to see a nice demo of the module's capabilities.

Last updated on 2007-01-21 01:21:49 -0600