ImageMagick-6.8.6-9

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 for Perl and C++ are also available.

This package is known to build and work properly using an LFS-7.4 platform.

Package Information

  • Download (FTP): ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.8.6-9.tar.xz

  • Download MD5 sum: 20df51f2315a7ab44507383d175b1c50

  • Download size: 7.2 MB

  • Estimated disk space required: 150 MB (with typical dependencies, reputedly 450 MB with all dependencies)

  • Estimated build time: 1.9 SBU (typical build - additional 4 SBU to run the test suite)

[Note]

Note

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, or from the legacy/ directory at ftp.ImageMagick.org/pub/ImageMagick you can download it from the BLFS package server at http://anduin.linuxfromscratch.org/sources/BLFS/svn/i/ImageMagick-6.8.6-9.tar.xz.

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.28, Cups-1.6.3, cURL-7.32.0, Dmalloc, Electric Fence, FFmpeg-1.2.2, FFTW, PGP or GnuPG-1.4.14 or GnuPG-2.0.21 (you'll have to do some hacking to use GnuPG), SANE-1.0.23, ufraw (for raw formats listed in www/formats.html), Wget-1.14, and xdg-utils-1.1.0-rc1

Optional Graphics Libraries

corefonts, DjVuLibre, FlashPIX, JasPer-1.900.1, JBIG-KIT, Little CMS-1.19 or Little CMS-2.5, libexif-0.6.21, libjpeg-turbo-1.3.0, libpng-1.6.4, librsvg-2.37.0, LibTIFF-4.0.3, libwebp-0.3.1, Liquid Rescale, OpenEXR, Pango-1.34.1, and RALCGM (or ralcgm)

Optional Graphics Utilities

Blender, DejaVu fonts, GhostPCL or GhostPDL, ghostscript-9.10, Gimp-2.8.6, Gnuplot, Graphviz-2.34.0, Inkscape-0.48.4, POV-Ray, and Radiance

Optional Conversion Tools

AutoTrace, Enscript-1.6.6, GeoExpress Command Line Utilities, AKA MrSID Utilities (binary package), hp2xx, html2ps, libwmf, MPEG-2 Video Codec, Netpbm, texlive-20130530, Transfig, UniConvertor, 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:

[Note]

Note

If Xorg is not installed in user, add the entry LDFLAGS=-L$XORG_PREFIX/lib to the configure line.

./configure --prefix=/usr     \
            --sysconfdir=/etc \
            --with-modules    \
            --with-perl       \
            --disable-static  &&
make

The validation suite is intended to be run after the package is installed.

Now, as the root user:

make install

To test the installation, issue: make check. Note that the EPS, PS, and PDF tests require a working Ghostscript.

Command Explanations

--sysconfdir=/etc: Install the .xml configuration files into /etc/ImageMagick instead of the default /usr/etc/ImageMagick.

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

--with-perl: Enables building and installing PerlMagick.

--disable-static: Prevents the static libraries being built and installed.

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

--with-rsvg: Enables support to use the librsvg library.

--with-autotrace: Enables support to use the Autotrace library.

--with-wmf: Enables support to use the libwmf library.

--with-gvc: Enables support to use GraphViz.

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

--with-dejavu-font-dir= <Some/Directory>: This option specifies the directory where the DejaVu fonts 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, Magic++-config, MagickCore-config, MagickWand-config, mogrify, montage, stream, and Wand-config
Installed Libraries: libMagickCore-Q16.so, libMagickWand-Q16.so, libMagick++-Q16.so, and numerous plugin modules
Installed Directories: /etc/ImageMagick, /usr/include/ImageMagick, /usr/lib/ImageMagick-6.8.6, /usr/lib/perl5/site_perl/<5.x.y>/<arch-linux>/auto/Image, /usr/lib/perl5/site_perl/<5.x.y>/<arch-linux>/Image/Magick, /usr/share/ImageMagick-6.8.6 and /usr/share/doc/ImageMagick-6.8.6

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{,++,Core,Wand}-config

show information about the installed versions of the ImageMagick libraries.

mogrify

transforms an image.

montage

composites various images into a new image.

stream

streams one or more pixel components of an image or portion of the image to your choice of storage formats.

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 2013-09-11 13:05:27 -0700