ImageMagick-6.9.10-60

#### Beyond Linux® From Scratch (systemd Edition) - Version 9.0

### Chapter 11. General Utilities

- Prev

  ibus-1.5.20

- Next

  ImageMagick-7.0.8-60

- Up
- Home

# ImageMagick-6.9.10-60

## Introduction to ImageMagick-6 libraries

ImageMagick underwent many changes in its libraries between versions 6 and 7. Most packages in BLFS which use ImageMagick can use version 7, but for the others this page will install only the libraries, headers and general documentation (not programs, manpages, perl modules), and it will rename the unversioned pkgconfig files so that they do not overwrite the same-named files from version 7.

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

### Package Information

- Download (HTTP): https://www.imagemagick.org/download/releases/ImageMagick-6.9.10-60.tar.xz

- Download (FTP): ftp://ftp.imagemagick.org/pub/ImageMagick/releases/ImageMagick-6.9.10-60.tar.xz

- Download MD5 sum: f76ab105bf4dd23aaae7d4995b0fe9dc

- Download size: 8.6 MB

- Estimated disk space required: 200 MB, with typical dependencies (add 39 MB for tests)

- Estimated build time: 0.9 SBU (Using parallelism=4; add 1.5 SBU for tests)

### Additional Downloads

- Required patch: http://www.linuxfromscratch.org/patches/blfs/9.0/ImageMagick-6.9.10-60-libs_only-1.patch

### 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 Oregon State University: ftp://ftp.osuosl.org/pub/blfs/conglomeration/ImageMagick/.

### ImageMagick-6 Dependencies

#### Recommended

Xorg Libraries

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

Cups-2.2.12, cURL-7.65.3, FFmpeg-4.2, fftw-3.3.8, p7zip-16.02 (LZMA), SANE-1.0.27, Wget-1.20.3, xdg-utils-1.1.3, xterm-348, Dmalloc, Electric Fence, PGP or GnuPG-2.2.17 (you'll have to do some hacking to use GnuPG), Profiles, and ufraw (for raw formats listed in http://www.imagemagick.org/www/formats.html)

#### Optional Graphics Libraries

JasPer-2.0.14, Little CMS-1.19 or Little CMS-2.9, libexif-0.6.21, libgxps-0.3.1, libjpeg-turbo-2.0.2, libpng-1.6.37, libraw-0.19.5 (RAW_R), librsvg-2.44.14, LibTIFF-4.0.10, libwebp-1.0.3, OpenJPEG-2.3.1, Pango-1.42.4, DjVuLibre, FlashPIX (libfpx), FLIF, JBIG-KIT, libraqm, Liquid Rescale, OpenEXR, and RALCGM (or ralcgm)

#### Optional Graphics Utilities

Dejavu fonts, ghostscript-9.27, Gimp-2.10.12, Graphviz-2.40.1, Inkscape-0.92.4, Blender, corefonts, GhostPCL, Gnuplot, POV-Ray, and Radiance

#### Optional Conversion Tools

Enscript-1.6.6, texlive-20190410 (or install-tl-unx) AutoTrace, GeoExpress Command Line Utilities, AKA MrSID Utilities (binary package), hp2xx, html2ps, libwmf, UniConvertor, and Utah Raster Toolkit (or URT-3.1b)

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

## Installation of ImageMagick-6 libraries

Install ImageMagick by running the following commands:

    patch -Np1 -i ../ImageMagick-6.9.10-60-libs_only-1.patch &&
    autoreconf -fi                                          &&
    ./configure --prefix=/usr     \
                --sysconfdir=/etc \
                --enable-hdri     \
                --with-modules    \
                --disable-static  &&
    make

Now, as the `root` user:

    make DOCUMENTATION_PATH=/usr/share/doc/imagemagick-6.9.10 install-libs-only

To test the installation, issue: make check. 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.27 - that test, and one other, might fail, but all the validation can still pass.

## Command Explanations

patch -Np1 -i ../ImageMagick-6.9.10-imagemagick6_libs_only-1.patch: Move unversioned pkgconfig files to versioned names and provide an option to only install libraries and associated files.

`--enable-hdri`: Enables building of a high dynamic range version of ImageMagick.

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

`--disable-static`: This 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 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: None
Installed Libraries: libMagickCore-6.Q16HDRI.so, libMagickWand-6.Q16HDRI.so and libMagick++-6.Q16HDRI.so
Installed Directories: /etc/ImageMagick-6, /usr/include/ImageMagick-6, /usr/lib/ImageMagick-6.9.10, /usr/share/doc/ImageMagick-6.9.10, and /usr/share/ImageMagick-6

### Short Descriptions

`libMagickCore-6.Q16HDRI.so` | provides the C API for ImageMagick.
`libMagickWand-6.Q16HDRI.so` | is the recommended C API for ImageMagick. Unlike the MagickCore API it uses only a few opaque types.
`libMagick++-6.Q16HDRI.so` | provides the C++ API for ImageMagick.

Last updated on 2019-08-21 14:22:20 -0700

- Prev

  ibus-1.5.20

- Next

  ImageMagick-7.0.8-60

- Up
- Home