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.3/i/ImageMagick-6.3.5-10.tar.bz2.
        
        
          ImageMagick Dependencies
        
        
          Recommended
        
        
          X Window
          System
        
        
          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.22, CUPS-1.2.12 or LPRng-3.8.28 (or any other print utility that
          provides an lpr
          command), dcraw,
          Dmalloc, Electric Fence,
          PGP or
          GnuPG-1.4.7 or GnuPG-2.0.8
          (you'll have to do some hacking to use GnuPG), SANE-1.0.18, and
          Wget-1.10.2
        
        
          Optional Graphics Libraries
        
        
          corefonts, FlashPIX (or
          
          FlashPIX library), FreeType-2.3.7, Jasper, JBIG-KIT, little
          cms-1.16, libexif-0.6.16, libjpeg-6b, libpng-1.2.29,
          librsvg-2.16.1, LibTIFF-3.8.2, libxml2-2.6.31, DjVuLibre, and RALCGM (or
          RALCGM-3.50)
        
        
          Optional Graphics Utilities
        
        
          ESP Ghostscript-8.15.4 or AFPL
          Ghostscript-8.53, GhostPCL, GIMP-2.2.17,
          Gnuplot,
          Graphviz-2.12, 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.2808 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 -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.
        
        
          Now, as the root user:
        
        
make install
       
      
        
          Command Explanations
        
        
          sed -i -e "..." -e
          "...": 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.