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
This package is known to build and work properly using an LFS-7.10
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 Oregon State
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
FFmpeg-3.2.2, p7zip-16.02 (LZMA), SANE-1.0.25, Wget-1.18, xdg-utils-1.1.1, xterm-327, Dmalloc,
Electric Fence, FFTW, PGP or GnuPG-2.1.17
(you'll have to do some hacking to use GnuPG), Profiles,
(for raw formats listed in http://www.imagemagick.org/www/formats.html)
Optional Graphics Libraries
JasPer-2.0.10, Little CMS-1.19 or Little CMS-2.8,
LibTIFF-4.0.7, libwebp-0.5.2, OpenJPEG-2.1.2, Pango-1.40.3, DjVuLibre,
(libfpx), FLIF, JBIG-KIT, libgxps,
Rescale, OpenEXR, and RALCGM (or
Optional Graphics Utilities
ghostscript-9.20, Gimp-2.8.18, Graphviz-2.38.0, Inkscape-0.92.0, Blender, corefonts, DejaVu fonts,
Optional Conversion Tools
Enscript-1.6.6, texlive-20160523b (or install-tl-unx) AutoTrace, GeoExpress
Command Line Utilities, AKA MrSID Utilities (binary package),
UniConvertor, and Utah Raster Toolkit
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/imagemagick
Installation of ImageMagick
Install ImageMagick by running the
./configure --prefix=/usr \
Now, as the
make DOCUMENTATION_PATH=/usr/share/doc/imagemagick-7.0.4 install
To test the installation, issue: make
check. A more comprehensive test is the
ImageMagick validation suite. If
make check has not
been executed, run make
tests/validate to compile it. Issue tests/validate 2>&1 | tee
validate.log to run the validation suite. The
result summary may be obtained with grep "validation suite"
validate.log. Note that the EPS, PS, and PDF tests
require a working Ghostscript. One
test in 'make check' needs “Helvetica” from “Ghostscript Standard Fonts”, which are
optionally installed in ghostscript-9.20 - that test, and one
other, might fail, but all the validation can still pass.
building of a high dynamic range version of ImageMagick.
support for dynamically loadable modules.
building and installing of PerlMagick.
switch prevents installation of static versions of the libraries.
--with-gslib: Enables support to use
the Ghostscript shared library.
--with-rsvg: Enables support to use the
--with-autotrace: Enables support to
use the Autotrace library.
--with-wmf: Enables support to use the
--with-gvc: Enables support to use
--with-windows-font-dir= : This
option specifies the directory where the Windows CoreFonts are
--with-dejavu-font-dir= : This
option specifies the directory where the DejaVu fonts are
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
MagickCore-config, and MagickWand-config. (animate, compare,
composite, conjure, convert, display, identify, import,
magick-script, mogrify, montage, and stream are all symbolic
links to magick)
libMagickWand-7.Q16HDRI.so and libMagick++-7.Q16HDRI.so
animates a sequence of images.
compares an image to a reconstructed image.
composites various images into the given base image.
processes a MSL script to create an image.
converts image(s) from one format to another.
displays an image.
describes the format and characteristics of an image
captures an X window.
show information about the installed versions of the
transforms an image.
composites various images into a new image.
streams one or more pixel components of an image or
portion of the image to your choice of storage formats.
Last updated on 2017-01-10 00:02:22 -0600