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.

本パッケージは LFS-10.0 において正しくビルドでき動作することが確認されています。




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 you can download it from the BLFS package server at Oregon State University:

ImageMagick の依存パッケージ


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

Optional System Utilities

Clang from LLVM-10.0.1, Cups-2.3.3, cURL-7.71.1, FFmpeg-4.3.1, fftw-3.3.8, p7zip-16.02 (LZMA), SANE-1.0.29, Wget-1.20.3, xdg-utils-1.1.3, xterm-359, Dmalloc, Electric Fence, PGP or GnuPG-2.2.21 (you'll have to do some hacking to use GnuPG), Profiles, and ufraw (for raw formats listed in

Optional Graphics Libraries

JasPer-2.0.14, Little CMS-1.19 or Little CMS-2.11, libexif-0.6.22, libgxps-0.3.1, libjpeg-turbo-2.0.5, libpng-1.6.37, libraw-0.20.0 (RAW_R), librsvg-2.48.8, LibTIFF-4.1.0, libwebp-1.1.0, OpenJPEG-2.3.1, Pango-1.46.0, DjVuLibre, FlashPIX (libfpx), FLIF, JBIG-KIT, libheif, libraqm, Liquid Rescale, OpenEXR, and RALCGM (or ralcgm)

Optional Graphics Utilities

Dejavu fonts, ghostscript-9.52, Gimp-2.10.20, Graphviz-2.44.1, Inkscape-1.0, Blender, corefonts, GhostPCL, Gnuplot, POV-Ray, Radiance

Optional Conversion Tools

Enscript-1.6.6, texlive-20200406 (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)


ImageMagick のインストール

以下のコマンドを実行して ImageMagick をビルドします。

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

root ユーザーになって以下を実行します。

make DOCUMENTATION_PATH=/usr/share/doc/imagemagick-7.0.10 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. 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.52 - that test, and one other, might fail, but all the validation can still pass.


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

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

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

--disable-static: このスイッチはスタティックライブラリをインストールしないようにします。

--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.


インストールプログラム: magick, Magick++-config, 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)
インストールディレクトリ: /etc/ImageMagick-7, /usr/include/ImageMagick-7, /usr/lib/ImageMagick-7.0.10, /usr/lib/perl5/site_perl/5.32/{,auto}/Image/Magick, /usr/share/doc/ImageMagick-7.0.10, /usr/share/ImageMagick-7



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.




describes the format and characteristics of an image file.


X ウィンドウをキャプチャーします。


convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample and much more.


show information about the installed versions of the ImageMagick libraries.




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.


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.

provides the C API for ImageMagick.

is the recommended C API for ImageMagick. Unlike the MagickCore API it uses only a few opaque types.

provides the C++ API for ImageMagick.

最終更新日: 2020-08-22 07:12:06 +0900