ImageMagick

Install ImageMagick from Source



www.imagemagick.org


Chances are, ImageMagick is already installed on your computer if you are using some flavor of Unix, but that it is not installed if you are using some form of Windows. In either case, you can type the following to find out.


If the identify program executes and identifies itself as ImageMagick, you may not need to install ImageMagick from source unless you want to add support for additional image formats or upgrade to a newer version. You also have the option of installing a pre-compiled binary release. However, if you still want to install from source, choose a platform,Unix orWindows. Before installing from source, you may want to review recentchanges to the ImageMagick distribution.

Install from Unix Source

ImageMagick builds on a variety of Unix and Unix-like operating systems including Linux, Solaris, FreeBSD, Mac OS X, and others. A compiler is required and fortunately almost all modern Unix systems have one. DownloadImageMagick.tar.gz fromwww.imagemagick.org or a mirrors and verify its message digest.

Unpack the distribution with this command:


Next configure and compile ImageMagick:


If ImageMagick configured and compiled without complaint, you are ready to install it on your system. Administrator privileges are required to install. To install, type


You may need to configure the dynamic linker run-time bindings:


Finally, verify the ImageMagick install worked properly, type


For a more comprehensive test, run the ImageMagick validation suite. Ghostscript is a prerequisite, otherwise the EPS, PS, and PDF tests will fail.


Congratulations, you have a working ImageMagick distribution and you are ready to use ImageMagick toconvert, compose, or edit your images or perhaps you'll want to use one of theApplication Program Interfaces for C, C++, Perl, and others.

The above instructions will satisfy a great number of ImageMagick users, but we suspect a few will have additional questions or problems to consider. For example, what does one do if ImageMagick fails to configure or compile? Or what if you don't have administrator privileges and what if you don't want to install ImageMagick in the default /../usr/local folder? You will find the answer to these questions, and more, inAdvanced Unix Source Installation.

Install from Windows Source

Building ImageMagick source for Windows requires a modern version of Microsoft Visual Studio IDE. Users have reported success with the Borland C++ compiler as well.

你可能感兴趣的:(ImageMagick)