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.
Download (HTTP): http://www.imagemagick.org/download/ImageMagick-6.3.3-0.tar.bz2
Download (FTP): ftp://ftp.imagemagick.net/pub/ImageMagick/ImageMagick-6.3.3-0.tar.bz2
Download MD5 sum: 2175f877a8d3a88b72d3ce3074f8f8e5
Download size: 5.4 MB
Estimated disk space required: 199 MB (additional 68 MB if you run the Image::Magick demo)
Estimated build time: 3.4 SBU (Additional 1.0 SBU to run the test suite)
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/svn/i/ImageMagick-6.3.3-0.tar.bz2.
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.
pkg-config-0.21, 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
corefonts, FlashPIX (or FlashPIX library), FreeType-2.1.10, Jasper, JBIG-KIT, little cms-1.16, libexif-0.6.13, libjpeg-6b, libpng-1.2.16, librsvg-2.16.1, LibTIFF-3.8.2, libxml2-2.6.27, and RALCGM (or RALCGM-3.50)
ESP Ghostscript-8.15.4 or AFPL Ghostscript-8.53, GhostPCL, GIMP-2.2.12, Gnuplot, Graphviz-2.12 (requires a >2.8 development snapshot), POV-Ray, and Radiance
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
Install Imagemagick by running the following commands:
sed -i -e "s/\xc2\xae/\\\[rg\]/g" \ -e "s/B...'e./Be/" utilities/ImageMagick.1.in && ./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
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=: This
option specifies the directory where the Windows CoreFonts are
installed.
<Some/Directory>
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.
Last updated on 2007-04-04 21:42:53 +0200