F   "I swear by my life and my love of it that I will never live for the=    sake of another man, nor ask another man to live for mine"   >                     John Galt in "Atlas Shrugged", by Ayn Rand     AUTHOR  B   The author is magick@mystic.es.dupont.com.  This software is NOT@   shareware.  However, I am interested in who might be using it.A   Please consider sending me a picture postcard of the area where    you live.  Send postcards to       ImageMagick Studio     P.O. Box 40      Landenberg, PA  19350      USA   E   I'm also interested in receiving currency or stamps from around the    world for my collection.     AVAILABILITY     ImageMagick is available as   F     ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-5.5.1.tar.gz  F   ImageMagick client executables are available for some platforms. See  6     ftp://ftp.imagemagick.org/pub/ImageMagick/binaries1     ftp://ftp.imagemagick.org/pub/ImageMagick/mac 5     ftp://ftp.imagemagick.org/pub/ImageMagick/windows 1     ftp://ftp.imagemagick.org/pub/ImageMagick/vms 3     ftp://ftp.imagemagick.org/pub/ImageMagick/linux   A   I want ImageMagick to be of high quality, so if you encounter a A   problem I will investigate.  However, be sure you are using the    most recent version from  -     ftp://ftp.imagemagick.org/pub/ImageMagick   ;   before submitting any bug reports or suggestions.  Report 6   any problems via the web-based reporting facility at  ?     http://studio.imagemagick.org/mailman/listinfo/magick-bugs.    WWW   &   The official ImageMagick WWW page is       http://www.imagemagick.org/   ?   To use display as your external image viewer, edit the global G   mail-cap file or your personal mail-cap file .mailrc (located at your %   home directory) and put this entry:        image/*; display %s      MAILING LIST  ?   There is a mailing list for discussions and bug reports about -   ImageMagick.  To subscribe send the message        subscribe magick-user   C   to majordomo@imagemagick.org.  You will receive a welcome message 3   which tells you how to post messages to the list,    magick-user@imagemagick.org.     UNIX/Cygwin/MinGW COMPILATION      Note:   D     Platform specific notes regarding specific operating systems mayH     be found in the PLATFORMS.txt file.  This file (README.txt) providesE     generic instructions which work in most common cases.  Additional C     notes regarding Cygwin & MinGW are provided later in this file.      Type:   1     gzip -dc ImageMagick-5.5.1.tar.gz | tar xvf -      cd ImageMagick-5.5.1  @   If you do not have gzip(1), the source for the gzip package is!   available as a shell archive at   /     ftp://ftp.gnu.org/gnu/gzip/gzip-1.2.4a.shar      or as a tar archive at  .     ftp://ftp.gnu.org/gnu/gzip/gzip-1.2.4a.tar  @   Use 'configure' to automatically configure, build, and installH   ImageMagick. The configure script may be executed from the ImageMagickJ   source directory (e.g ./configure) or from a seperate build directory by-   specifying the full path to configure (e.g. F   /src/ImageMagick-5.5.1/configure). The advantage of using a seperateH   build directory is that multiple ImageMagick builds may share the sameH   ImageMagick source directory while allowing each build to use a unique   set of options.   J   If you are willing to accept configure's default options, and build from$   within the source directory, type:         ./configure   J   and watch the configure script output to verify that it finds everythingH   that you think it should. If it does not, then adjust your environment   so that it does.  =   By default, `make install' will install the package's files @   in `/usr/local/bin', `/usr/local/man', etc. You can specify anC   installation prefix other than `/usr/local' by giving `configure' F   the option `--prefix=PATH'.  This is valuable in case you don't haveI   privileges to install under the default paths or if you want to install $   in the system directories instead.  G   If you are not happy with configure's choice of compiler, compilation B   flags, or libraries, you can give `configure' initial values forC   variables by specifying them on the configure command line, e.g.:   0       ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix  E   Options which should be common to packages installed under the same F   directory heirarchy may be supplied via a 'config.site' file locatedH   under the installation prefix via the path ${prefix}/share/config.siteH   where ${prefix} is the installation prefix.  This file is used for allG   packages installed under that prefix.  This is an example config.site    file:   E   # Configuration values for all packages installed under this prefix    CC=gcc	   CXX=c++ !   CPPFLAGS='-I/usr/local/include' -   LDFLAGS='-L/usr/local/lib -R/usr/local/lib'   C   When the 'config.site' file is being used to supply configuration 5   options, configure will issue a message similar to:   ?     configure: loading site script /usr/local/share/config.site   5   The configure variables you should be aware of are:   ;       CC          Name of C compiler (e.g. 'cc -Xa') to use 9       CXX         Name of C++ compiler to use (e.g. 'CC') B       CFLAGS      Compiler flags (e.g. '-g -O2') to compile C codeD       CXXFLAGS    Compiler flags (e.g. '-g -O2') to compile C++ codeE       CPPFLAGS    Include paths (-I/somedir) to look for header files B       LDFLAGS     Library paths (-L/somedir) to look for librariesG                   Systems that support the notion of a library run-path E                   may require an additional argument in order to find H                   shared libraries at run time. For example, the SolarisG                   linker requires an argument of the form '-R/somedir', F                   some Linux systems will work with '-rpath /somedir',H                   while some other Linux systems who's gcc does not passF                   -rpath to the linker require an argument of the form(                   '-Wl,-rpath,/somedir'.>       LIBS        Extra libraries (-lsomelib) required to link  D   Any variable (e.g. CPPFLAGS or LDFLAGS) which requires a directoryA   path must specify an absolute path rather than a relative path.   <   Configure can usually find the X include and library filesG   automatically, but if it doesn't, you can use the `configure' options H   `--x-includes=DIR' and `--x-libraries=DIR' to specify their locations.  @   The configure script provides a number of ImageMagick specificI   options.  When disabling an option --disable-something is equivalent to H   specifying --enable-something=no and --without-something is equivalent7   to --with-something=no.  The configure options are as :   follows (execute 'configure --help' to see all options).     Optional Features:T    --enable-ccmalloc       enable 'ccmalloc' memory debug support (default disabled)M    --enable-prof           enable 'prof' profiling support (default disabled) N    --enable-gprof          enable 'gprof' profiling support (default disabled)M    --enable-gcov           enable 'gcov' profiling support (default disabled) J    --disable-largefile     disable support for large (64 bit) file offsets@    --enable-lzw            enable LZW support (default disabled)     Optional Packages/Options:I    --with-quantum-depth    number of bits in a pixel quantum (default 16) J    --with-modules          enable support for dynamically loadable modulesT    --with-cache            set pixel cache threshhold (defaults to available memory)2    --without-threads       disable threads support8    --without-frozenpaths   disable frozen delegate paths?    --without-magick-plus-plus disable build/install of Magick++ >    --without-perl          disable build/install of PerlMagick
         orL    --with-perl=PERL        use specified Perl binary to configure PerlMagickD    --with-perl-options=OPTIONS  options to pass on command-line whenL                            generating PerlMagick's Makefile from Makefile.PL0    --without-bzlib         disable BZLIB support=    --without-dps           disable Display Postscript support 3    --without-fpx           disable FlashPIX support >    --without-gslib         disable Ghostscript library support-    --with-hdf              enable HDF support /    --without-jbig          disable JBIG support /    --without-jpeg          disable JPEG support 2    --without-jp2           disable JPEG v2 support/    --without-lcms          disable LCMS support /    --without-mpeg2         disable MPEG support .    --without-png           disable PNG support/    --without-tiff          disable TIFF support 3    --without-ttf           disable TrueType support .    --without-wmf           disable WMF support>    --with-fontpath         prepend to default font search pathA    --with-gs-font-dir      directory containing Ghostscript fonts @    --with-windows-font-dir directory containing MS-Windows fonts.    --without-xml           disable XML support/    --without-zlib          disable ZLIB support 2    --with-x                use the X Window System<    --with-share-path=DIR   Alternate path to share directory6                            (default share/ImageMagick)=    --with-libstdc=DIR      use libstdc++ in DIR (for GNU C++)   H   ImageMagick options represent either features to be enabled, disabled,J   or packages to be included in the build.  When a feature is enabled (viaF   --enable-something), it enables code already present in ImageMagick.H   When a package is enabled (via --with-something), the configure scriptF   will search for it, and if is is properly installed and ready to useI   (headers and built libraries are found by compiler) it will be included D   in the build.  The configure script is delivered with all featuresC   disabled and all packages enabled. In general, the only reason to C   disable a package is if a package exists but it is unsuitable for B   the build (perhaps an old version or not compiled with the right   compilation flags).   1   Several configure options require special note:   =     o --enable-shared: the shared libraries are built. Shared B       libraries are preferred because they allow programs to shareB       common code, making the individual programs much smaller. InG       addition shared libraries are required in order for PerlMagick to I       be dynamically loaded by an installed PERL (otherwise an additional I       PERL (PerlMagick) must be installed. This option is not the default D       because all libraries used by ImageMagick must also be dynamicG       libraries if ImageMagick itself is to be dynamically loaded (such        as for PerlMagick).   B       ImageMagick built with delegates (see MAGICK PLUG-INS below)C       can pose additional challenges. If ImageMagick is built using A       static libraries (the default without --enable-shared) then C       delegate libraries may be built as either static libraries or E       shared libraries. However, if ImageMagick is built using shared B       libraries, then all delegate libraries must also be built asH       shared libraries.  Static libraries usually have the extension .a,E       while shared libraries typically have extensions like .so, .sa, D       or .dll. Code in shared libraries normally must compiled usingD       a special compiler option to produce Position Independent CodeC       (PIC). The only time this is not necessary is if the platform &       compiles code as PIC by default.  B       PIC compilation flags differ from vendor to vendor (gcc's isF       -fPIC). However, you must compile all shared library source withG       the same flag (for gcc use -fPIC rather than -fpic). While static E       libraries are normally created using an archive tool like 'ar', I       shared libraries are built using special linker or compiler options        (e.g. -shared for gcc).   F       Building shared libraries often requires subtantial hand-editingG       of Makefiles and is only recommended for those who know what they        are doing.  A       If --enable-shared is not specified, a new PERL interpreter B       (PerlMagick) is built which is statically linked against theF       PerlMagick extension. This new interpreter is installed into theE       same directory as the ImageMagick utilities. If --enable-shared F       is specified, the PerlMagick extension is built as a dynamicallyH       loadable object which is loaded into your current PERL interpreterJ       at run-time. Use of dynamically-loaded extensions is preferable overI       statically linked extensions so --enable-shared should be specified E       if possible (note that all libraries used with ImageMagick must        be shared libraries!).  D     o --disable-static: static archive libraries (with extension .a)A       are not built.  If you are building shared libraries, there D       is little value to building static libraries. Reasons to buildF       static libraries include: 1) they can be easier to debug; 2) theG       clients do not have external dependencies (i.e. libMagick.so); 3) I       building PIC versions of the delegate libraries may take additional H       expertise and effort; 4) you are unable to build shared libraries.  G     o --with-modules: image format coders are built as loadable modules E       which are installed in [prefix]/lib/ImageMagick/modules/coders. E       Support for modules allows the formats supported by ImageMagick F       to be extended by simply adding additional modules to the moduleG       search path.  The modules option is only available in conjunction F       with --enable-shared.  If --enable-shared is not also specified,+       then support for modules is disabled.   F     o --enable-lzw: Unisys claims a patent on the algorithm supportingD       LZW compression (e.g. used by GIF and TIFF). To avoid possiblyH       infringing on this patent, support for LZW is disabled by default.E       With LZW support, GIF files written by ImageMagick will be much F       larger than expected. Note that the TIFF library must be patchedE       in order to support LZW compression, and that this support must 5       be explicitly enabled in the libtiff Makefiles.   F     o --with-quantum-depth: This option allows the user to specify theC       number of bits to use per pixel quantum (the size of the red, ;       green, blue, and alpha pixel components. For example, G       "--with-quantum-depth=8" builds ImageMagick using 8-bit quantums. B       Most computer display adaptors use 8-bit quantums. CurrentlyC       supported arguments are 8, 16, or 32. The default is 16. This D       option is the most important option in determining the overall*       run-time performance of ImageMagick.  G       The number of bits in a quantum determines how many values it may F       contain. Each quantum level supports 256 times as many values asG       the previous level. The following table shows the range available         for various quantum sizes.  @           QuantumDepth  Valid Range (Decimal)  Valid Range (Hex):                 8            0-255                   00-FF<                16           0-65535                0000-FFFF@                32         0-4294967295         00000000-FFFFFFFF  G       Larger pixel quantums cause ImageMagick to run more slowly and to H       require more memory. For example, using sixteen-bit pixel quantumsD       causes ImageMagick to run 15% to 50% slower (and take twice asC       much memory) than when it is built to support eight-bit pixel        quantums.   G       The amount of virtual memory consumed by an image can be computed A       by the equation (QuantumDepth*Rows*Columns*5)/8. This is an F       important consideration when resources are limited, particularlyC       since processing an image may require several images to be in F       memory at one time. The following table shows memory consumption"       values for a 1024x768 image:  &           QuantumDepth  Virtual Memory                8              3MB               16              8MB               32             15MB  D     o --without-magick-plus-plus: Disable building Magick++, the C++F       application programming interface to ImageMagick. A suitable C++F       compiler is required in order to build Magick++. Specify the CXXC       configure variable to select the C++ compiler to use (default E       "g++"), and CXXFLAGS to select the desired compiler opimization D       and debug flags (default "-g -O2"). Antique C++ compilers willG       normally be rejected by configure tests so specifying this option <       should only be necessary if Magick++ fails to compile.  E     o --without-frozenpaths: Normally full paths to external programs E       (based on searching the PATH set when configure is run) will be E       saved to the delegates.mgk file. Specify this option to disable $       saving full paths to programs.  H     o --without-threads: By default, the ImageMagick library is compiledG       with multi-thread support.  If this is undesireable, then specify        --without-threads.  C     o --with-cache: Specify a different image pixel cache threshold D       using the --with-cache option. This sets the maximum amount of?       heap memory that ImageMagick is allowed to consume before C       switching to using memory-mapped temporary files to store raw        pixel data.   C     o --disable-largefile: By default, ImageMagick is compiled with F       support for large (> 2GB on a 32-bit CPU) files if the operatingB       system supports large files.  All applications which use theB       ImageMagick library must then also include support for largeJ       files. By disabling support for large files via --disable-largefile,G       dependent applications do not require special compilation options 2       for large files in order to use the library.  E     o --without-perl: By default, PerlMagick is conveniently compiled H       and installed as part of ImageMagick's normal "configure", "make",I       "make install" process.. When --without-perl is specified, you must G       first install ImageMagick, change to the PerlMagick subdirectory, @       build, and finally install PerlMagick. Note, PerlMagick isE       configured even if --without-perl is specified. If the argument G       --with-perl=/path/to/perl is supplied, then /path/to/perl will be I       taken as the PERL interpreter to use. This is important in case the E       'perl' executable in your PATH is not PERL5, or is not the PERL        you want to use.  F     o --with-perl-options: The PerlMagick module is normally installedC       using the Perl interpreter's installation PREFIX, rather than @       ImageMagick's. If ImageMagick's installation prefix is notD       the same as PERL's PREFIX, then you may find that PerlMagick'sE       'make install' step tries to install into a directory tree that F       you don't have write permissions to. This is common when PERL isI       delivered with the operating system or on Internet Service Provider E       (ISP) web servers. If you want PerlMagick to install elsewhere, C       then provide a PREFIX option to PERL's configuration step via I       "--with-perl-options=PREFIX=/some/place". Other options accepted by G       MakeMaker are 'LIB', 'LIBPERL_A', 'LINKTYPE', and 'OPTIMIZE'. See D       the ExtUtils::MakeMaker(3) manual page for more information on"       configuring PERL extensions.  D     o --without-x: By default, ImageMagick will use X11 libraries ifF       they are available. When --without-x is specified, use of X11 isJ       disabled. The display, animate, and import programs are not built orG       installed. The remaining programs have reduced functionality such F       as no access to X11 fonts (consider using Postscript or TrueType       fonts instead).   >     o --with-gs-font-dir: Specify the directory containing theG       Ghostscript Postscript Type 1 font files (e.g. "n022003l.pfb") so G       that they can be rendered using the FreeType library. If the font J       files are installed using the default Ghostscript installation pathsD       (${prefix}/share/ghostscript/fonts), they should be discoveredB       automatically by configure and specifying this option is notE       necessary. Specify this option if the Ghostscript fonts fail to G       be located automatically, or the location needs to be overridden.   ?     o --with-windows-font-dir: Specify the directory containing I       MS-Windows-compatible fonts. This is not necessary when ImageMagick "       is running under MS-Windows.     Building under Cygwin   <     ImageMagick may be built under the Windows '95-XP Cygwin6     Unix-emulation environment available for free from         http://www.cygwin.com/  &     X11R6 for Cygwin is available from          http://xfree86.cygwin.com/  '     It is strongly recommended that the C     X11R6 package be installed since this enables ImageMagick's X11 H     support (animate, display, and import will work) and it includes theF     Freetype v2 DLL required to support TrueType and Postscript Type 1I     fonts. Make sure that /usr/X11R6/bin is in your PATH prior to running F     configure. If you are using Cygwin version 1.3.9 or later, you mayH     specify the configure option '--enable-shared' to build Cygwin DLLs.A     Specifying '--enable-shared' is required if you want to build I     PerlMagick under Cygwin because Cygwin does not provide the libperl.a :     static library required to create a static PerlMagick.     Building under MinGW & MSYS   H     ImageMagick may be built using the free MinGW ("Minimalistic GNU for1     Windows") package version 1.1, available from          http://www.mingw.org  E     which consists of a GNU-based (e.g. gcc) compilation toolset plus G     headers and libraries required to build programs which are entirely G     based on standard Microsoft Windows DLLs. MSYS provides a Unix-like A     console shell window with sufficient functionality to run the 2     ImageMagick configure script and execute make.  =     Unlike the Cygwin build which creates programs based on a A     Unix-emulation DLL, and which uses Unix-style paths to access A     Windows files, the MinGW build creates native Windows console 1     applications similar to the Visual C++ build.   G     Please note that since the MinGW build is very new, some aspects of H     the installation may vary from Windows user's expectations, and thatD     only a static build (no DLLs or modules) is currently supported.  F     Once MinGW & MSYS have been installed, start the MSYS console (viaG     the MSYS icon on the Windows desktop) and follow the Unix configure H     and build instructions. Note that the default installation prefix isE     "/usr/local" which installs the package into a MSYS directory. To B     install outside of the MSYS directory tree, you may specify anF     installation prefix like "/c/ImageMagick" which causes the packageE     to be installed under the Windows directory "C:\ImageMagick". The F     installation directory structure will look very much like the Unix3     installation layout (e.g. "C:\ImageMagick\bin", G     "C:\ImageMagick\lib", "C:\ImageMagick\share", etc.). Any additional F     delegate libraries (e.g. libpng) will need to be built under MinGW     in order to be used.  &   Dealing with configuration failures:  G     While configure is designed to ease installation of ImageMagick, it F     often discovers problems that would otherwise be encountered laterF     when compiling ImageMagick. The configure script tests for headersC     and libraries by executing the compiler (CC) with the specified J     compilation flags (CFLAGS), pre-processor flags (CPPFLAGS), and linkerG     flags (LDFLAGS). Any errors are logged to the file 'config.log'. If F     configure fails to discover a header or library please review thisD     log file to determine why, however, please be aware that *errorsC     in the config.log are normal* because configure works by trying F     something and seeing if it fails. An error in config.log is only aG     problem if the test should have passed on your system. After taking G     corrective action, be sure to remove the 'config.cache' file before G     running configure so that configure will re-inspect the environment $     rather than using cached values.  D     Common causes of configure failures are: 1) a delegate header isF     not in the header include path (CPPFLAGS -I option); 2) a delegateH     library is not in the linker search/run path (LDFLAGS -L/-R option);B     3) a delegate library is missing a function (old version?); 4)&     compilation environment is faulty.  @     If all reasonable corrective actions have been tried and the@     problem appears to be due to a flaw in the configure script,?     please send a bug report to the configure script maintainer D     (currently bfriesen@simple.dallas.tx.us). All bug reports shouldA     contain the operating system type (as reported by 'uname -a') E     and the compiler/compiler-version. A copy of the configure script F     output and/or the config.log file may be valuable in order to findG     the problem. If you send a config.log, please also send a script of F     the configure output and a description of what you expected to seeD     (and why) so the failure you are observing can be identified and
     resolved.      Makefile Build Targets  D     Once ImageMagick is configured, these standard build targets are+     available from the generated Makefiles:    
        'make'            Build the package            'make install'            Install the package            'make check' H           Run tests using the installed ImageMagick ('make install' must           be done first!).           'make clean' D           Remove everything in the build directory created by 'make'           'make distclean' I           Remove everything in the build directory created by 'configure' L           and 'make'. This is useful if you want to start over from scratch.           'make uninstall' >      	Remove all files from the system which are (or would be)B      	installed by 'make install' using the current configuration.F           Note that this target is imperfect for PerlMagick since Perl3           no longer supports an 'uninstall' target.      Build & Install:  ,     Now that ImageMagick is configured, type          make        to build the package and          make install        to install it.     Verifying The Build:  D     To confirm your installation of the ImageMagick distribution was     successful, type:             ./utilities/display   &     The ImageMagick logo is displayed.   9     If the image colors are not correct use this command:    +         ./utilities/display -visual default    F     For a more serious test, you may run the ImageMagick test suite by
     typing            make check  H     Note that due to differences between the developer's environment andF     your own it is possible that some tests may be indicated as failedG     even though the results are ok. Differences between the developer's F     environment environment and your own may include the compiler, theG     CPU type, and the library versions used. The ImageMagick developers 7     use the current release of all dependent libraries.      Documentation:  D     Be sure to read the manual pages for the display(1), animate(1),E     montage(1), import(1), mogrify(1), identify(1), composite(1), and I     convert(1) utilities. The ImageMagick(1) manual page provides details D     for utility options and will also aid with understanding libraryG     interfaces. Also read the ImageMagick frequently asked questions in      the file www/Magick.html.      X11 Resources:  .     Place display(1) X application defaults inH     /usr/lib/X11/app-defaults/Display or in a directory specified by theF     XUSERFILESEARCHPATH environment variable. Use the appropriate nameI     for other clients (e.g. Animate, Montage, etc). To execute display(1) H     from as a menu item of any window manager (olwm, mwm, twm, etc), use          display logo:Untitled   MAGICK DELEGATES  E   To further enhance the capabilities of ImageMagick, you may want to "   get these programs or libraries:  1     o ImageMagick requires the BZLIB library from   5         http://sourceware.cygnus.com/bzip2/index.html   4       to read and write BZip compressed MIFF images.  &     o ImageMagick requires ralcgm from  3         http://www.agocg.ac.uk/train/cgm/ralcgm.htm   B       to read the Computer Graphics Metafile image format (may notC       compile under linux).  You also need Ghostscript (see below).   '     o ImageMagick requires fig2dev from   C         ftp://ftp.x.org/contrib/applications/drawing_tools/transfig   #       to read the Fig image format.   G     o ImageMagick requires the FreeType software, version 2.0 or above,        available as            http://www.freetype.org/  <       to annotate with TrueType and Postscript Type 1 fonts.  >     o ImageMagick requires Ghostscript software available from  &         http://www.cs.wisc.edu/~ghost/  H       to read the Postscript or the Portable Document format. It is usedG       to annotate an image when the FreeType library is not used, or an C       X server is not available. See the FreeType library above for H       another means to annotate an image. Note, Ghostscript must supportA       the ppmraw device (type gs -h to verify). If Ghostscript is H       unavailable, the Display Postscript extension is used to rasterizeA       a Postscript document (assuming you define HasDPS). The DPS D       extension is less robust than Ghostscript in that it will only2       rasterize one page of a multi-page document.  C       Ghostscript (released 7.0 and later) may optionally install a E       library (libgs). If this library is installed, ImageMagick will F       attempt to use it unless the option --without-gslib is passed toH       configure. Note that Ghostscript provides its own modified versionH       of libjpeg and that symbols from this libjpeg may be confused withF       symbols with the stand-alone libjpeg. If conflicts cause JPEG toH       fail, it may be necessary to use Ghostscript's copy of libjpeg forF       ImageMagick, and all delegate libraries which depend on libjpeg.  H     o ImageMagick requires the NCSA HDF5 library available via anonymous       FTP as  4          ftp://ftp.ncsa.uiuc.edu/HDF/HDF/HDF_Current  H       to read and write the HDF image format.  By default HDF support is0       disabled because HDF5 is not yet complete.  /     o ImageMagick requires hp2xx available from   5          http://www.gnu.org/software/hp2xx/hp2xx.html   F       to read the HP-GL image format. Note that HPGL is a plotter fileD       format. HP printers usually accept PCL format rather than HPGL
       format.   :     o ImageMagick requires the LCMS library available from  "          http://www.littlecms.com/  "       to perform color management.  A     o ImageMagick requires gnuplot available via anonymous FTP as   ?          ftp://ftp.dartmouth.edu/pub/gnuplot/gnuplot-3.7.tar.gz   7       to read GNUPLOT plot files (with extension gplt).   1     o ImageMagick requires html2ps available from   /          http://www.tdb.uu.se/~jan/html2ps.html   $       to read the HTML image format.  >     o ImageMagick requires the JBIG-Kit software available via       HTTP from   0          http://www.cl.cam.ac.uk/~mgk25/jbigkit/         or via anonymous FTP as   ?          ftp://ftp.informatik.uni-erlangen.de/pub/doc/ISO/JBIG/   $       to read the JBIG image format.  @     o ImageMagick requires the Independent JPEG Group's software$       available via anonymous FTP as  :          ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz  $       to read the JPEG image format.  >       Apply this JPEG patch to Independent JPEG Group's sourceB       distribution if you want to read lossless jpeg-encoded DICOM       (medical) images:   L          ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/ljpeg-6b.tar.gz  K       Use of lossless JPEG is not encouraged. Unless you have a requirement M       to read lossless jpeg-encoded DICOM images, please disregard the patch.   D     o ImageMagick requires the MPEG utilities from the MPEG Software@       Simulation Group, which are available via anonymous FTP as  B          ftp://ftp.mpeg.org/pub/mpeg/mssg/mpeg2vidcodec_v12.tar.gz  -       to read or write the MPEG image format.   F     o ImageMagick requires the PNG library, version 1.0 or above, from  3          http://www.libpng.org/pub/png/pngcode.html   #       to read the PNG image format.   D     o ImageMagick requires ra_ppm from Greg Ward's Radiance software       available from  2          http://radsite.lbl.gov/radiance/HOME.html  (       to read the Radiance image format.  @     o ImageMagick requires rawtorle from the Utah Raster Toolkit$       available via anonymous FTP as  >          ftp://ftp.cs.utah.edu/pub/dept/OLD/pub/urt-3.1b.tar.Z  B       to write the RLE image format (may not compile under linux).  )     o ImageMagick requires scanimage from   %          http://www.mostang.com/sane/ 	 								  /       to import an image from a scanner device.   D     o ImageMagick requires Sam Leffler's TIFF software available via       anonymous FTP at  1          ftp://ftp.remotesensing.org/pub/libtiff/          or via HTTP at             http://www.libtiff.org/  G       to read the TIFF image format. It in turn optionally requires the I       JPEG and ZLIB libraries. Support for JPEG, ZIP, and LZW compression G       must be explicitly enabled by editing libtiff Makefiles. The TIFF J       library no longer includes support for LZW compression due to patentJ       issues. If you need to use LZW compression, support is available viaI       a seperate LZW compression kit (a patch) at the sites listed above.   A     o ImageMagick requires libwmf 0.2.5 (or 0.2.2) available from   0          http://sourceforge.net/projects/wvware/  D       to render files in the Windows Meta File (WMF) metafile formatC       (16-bit WMF files only, not 32-bit "EMF"). This is the format F       commonly used for Windows clipart (available on CD at your localA       computer or technical book store). WMF support requires the J       FreeType 2 library in order to render TrueType and Postscript fonts.  E       While ImageMagick uses the libwmflite (parser) component of the H       libwmf package which does not depend on any special libraries, theD       libwmf package as a whole depends on FreeType 2 and either theH       xmlsoft libxml, or expat libraries. Since ImageMagick already usesH       libxml (for reading SVG and to retrieve files via HTTP or FTP), itE       is recommended that the options '--without-expat --with-xml' be ,       supplied to libwmf's configure script.  @       ImageMagick's WMF renderer provides some of the finest WMFH       rendering available due its use of antialiased drawing algorithms.F       You may select a background color or texture image to render on.E       For example, "-background '#ffffffff'" renders on a transparent E       background while "-texture plasma:fractal" renders on a fractal        image.  H       The WMF renderer is not capable of using Windows fonts with libwmfF       0.2.2. Windows fonts are fully supported when using libwmf 0.2.5       or later.   B     o ImageMagick requires the FlashPIX library version 1.2.0 from@       the Digital Imaging Group in order to support the FlashPIXC       format. The FlashPIX library may be obtained from ImageMagick G       anonymous CVS by checking out the 'fpx' module, or retrieving the 7       file libfpx-1.2.0.4.tar.gz from the ftp directory   >          ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/.  F     o ImageMagick requires an X server for display and animate to workC       properly. Unix systems usually provide an X server as part of "       their standard installation.  =       A free X server for Microsoft Windows is available from   -          http://sources.redhat.com/win32-x11/   G       The Cygwin port of XFree86 may also be used. It is available from   %          http://www.cygwin.com/xfree/   ?       There is a nearly free X server available for Windows and        Macintosh at  1          http://www.microimages.com/freestuf/mix/   0     o ImageMagick requires libxml available from            http://xmlsoft.org/  D       to read the SVG image format and to retrieve files from over a       network via FTP and HTTP.   0     o ImageMagick requires the ZLIB library from  "          http://www.gzip.org/zlib/  =       to read or write the PNG or Zip compressed MIFF images.   <     o ImageMagick requires a background texture for the TILED       format and for the -texture option of montage(1).  You can use"       your own or get samples from  %          http://the-tech.mit.edu/KPT/      VMS COMPILATION   C   You might want to check the values of certain program definitions D   before compiling.  Verify the definitions in delegates.mgk to suit'   your local requirements.  Next, type.      Type  F       unzip ImageMagick-5.5.1.zip set default [.imagemagick] @make set%       display/create/node=node_name::   4   where node_name is the DECNET X server to contact.     Finally type:   
       display   F   Alternatively, get a zipped distribution (with JPEG, PNG, TIFF, TTF)   from  I       ftp://ftp.imagemagick.org/pub/ImageMagick/vms/ImageMagick-5.5.1.zip   F   Thanks to pmoreau@cenaath.cena.dgac.fr for supplying invaluable help=   as well as the VMS versions of the JPEG, PNG, TTF, and TIFF    libraries.    + Windows Win2K/95 VISUAL C++ 6.0 COMPILATION   E  [ Visual C++ 7.0 users may follow this proceedure, however, once the H    workspace and project files have been converted to the new "Solution"H    format, the configured Visual C++ 6.0 workspace and project files are@    no longer used. This currently puts Visual C++ 7.0 users at a    disadvantage. ]  E   The Visual C++ distribution targeted at Windows Win2K or Windows 95 C   does not provide any stock workspace (DSW) or project files (DSP) F   except for those included with third party libraries. Instead, thereE   is a "configure" program that must be built and run that creates an /   environment that meets your particular needs.   H   The Visual C++ working environment provides a large number of mutuallyB   exclusive options that must all be used in a coherent manner, or   problems result.  D   The Visual C++ system provides three different types of "runtimes"G   that must match across all application, library, and DLL code that is F   built. The "configure" program creates a set of build files that are.   consistent for a specific runtime selection.  ,   The three options for runtime support are:  +     1) Dynamic Multi-threaded DLL runtimes. &     2) Static Single-threaded runtimes%     3) Static Multi-threaded runtimes )     4) Static Multi-threaded DLL runtimes   C   In addition to these runtimes, the VisualMagick build environment H   allows you to select whether to include the X11 libraries in the buildE   or use X11 "stubs". Either option is available because X11 DLLs are F   provided with the VisualMagick build environment. Most Windows usersC   do not use X11 so they can accept the default X11 "stubs" option. F   Users that use X11 or want to build a full ImageMagick, will want toD   de-select the X11 "stubs" option. When X11 is stubbed out, the X11>   utility programs animate, display, and import will not work.  C   This leads to five different possible build options, which should H   cover almost any particular situation. The default binary distributionD   is built using #1 from above with the X11 libraries included. ThisG   results in an X11 compatible build using all DLL's for everything and 5   multi-threaded support (the only option for DLL's).   F   To do a build for your requirements, simply go to the configure sub-H   directory under VisualMagick and open the configure.dsw workspace. Set0   the build configuration to "Release" under the  4       "Build..., Set Active Configuration..."  menu.  F   Build and execute the configure program and follow the instructions.F   You should probably not change any of the defaults unless you have a   specific reason to do so.   G   After creating your build environment you can proceed to open the DSW A   file that was generated in the VisualMagick directory and build    everything from there.  G   In the final DSW file you will find a project call "All". In order to G   build everything in the distribution, select this project and make it F   the "active" project. Set the build configuration to the desired oneH   (Debug, or Release) and do a "clean" followed by a "build". You should!   do the build in a specific way:   7     1) Make the "All" project the active project (Bold) H        Right click on the All project and select "Set As Active Project"     2) Select "Build..., Clean"      3) Select "Build..., Build" ?     4) Go get some coffee unless you have a very fast machine!.   I   The "Clean" step is needed in order to make sure that all of the target F   support libraries are updated with any patches needed to get them to$   compile properly under Visual C++.  E   All of the required files that are needed to run any of the command H   line tools will be found in the "bin" subdirectory of the VisualMagickD   subdirectory. This includes EXE, and DLL files. You should be ableG   to test the build directly from this directory without having to move I   anything to any of the global SYSTEM or SYSTEM32 areas in the operating    system installation.  
   NOTE #1:  D   The Visual C++ distribution of ImageMagick comes with the Magick++F   C++ wrapper by default. This add-on layer has a large number of demoD   and test files that can be found in ImageMagick\Magick++\demo, andD   ImageMagick\Magick++\tests. There are also a variety of tests that6   use the straight C API as well in ImageMagick\tests.  E   All of these programs are NOT configured to be built in the default H   workspace created by the configure program. You can cause all of theseF   demos and test programs to be built by checking the box in configure   that says:  (     "Include all demo and test programs"  E   In addition, there is another related checkbox (checked by default) E   that causes all generated project files to be created standalone so 7   that they can be copied to other areas of you system.      This is the checkbox:   F    "Generate all utility projects with full paths rather then relative
     paths"     WOW - that a mouthfull - eh?  F   The problem is that Visual C++ uses a concept of "dependencies" thatF   tell it what other things need to be build when a particular projectE   is being build. This mechanism is also used to cause things to link F   properly. In my normal development environment, I want to be able toE   make changes and debug the system as a whole, so I like and NEED to H   use dependencies. However, most end users don't want to work this way.  F   Instead they really just want to build the package and then get downG   to business working on their application. The solution is to make all E   the utility projects (UTIL_xxxx_yy_exe.dsp) use full absolute paths G   to all the things they need. This way the projects stand on their own F   and can actually be copied and used as templates to get a particular2   custom application compiling with little effort.  C   With this feature enabled, you should be able to nab a copy of...      <     VisualMagick\utilities\UTIL_convert_xxx_exe.dsp  (for C)  	      -or-   >     VisualMagick\Magick++\demo\UTIL_demo_xxx_exe.dsp (for C++)  F   ... and pop it into notepad, modify it (carefully) to your needs and0   be on your way to happy compiling and linking.  D   You can feel free to pick any of the standard utilities, tests, orE   demo programs as the basis for a new program by copying the project "   and the source and hacking away.  ?   The choice of what to use as a starting point is very easy...   B   For straight C API command line applications use something from:  <     ImageMagick\tests or ImageMagick\utilities (source code)H     ImageMagick\VisualMagick\tests or ImageMagick\Visualmagick\utilities       (project - DSP)   D   For C++ and Magick++ command line applications use something from:  ;     ImageMagick\Magick++\tests or ImageMagick\Magick++\demo        (source code) .     ImageMagick\VisualMagick\Magick++\tests or<       ImageMagick\VisualMagick\Magick++\demo (project - DSP)  8   For C++ and Magick++ and MFC windows applications use:     8     ImageMagick\contrib\win32\MFC\NtMagick (source code)7     ImageMagick\VisualMagick\contrib\win32\MFC\NtMagick        (project - DSP)   
   NOTE #2:  ;   The ImageMagick distribution is very modular. The default F   configuration is there to get you rolling, but you need to make some8   serious choices when you wish to change things around.  A   The binary distribution and default options are all targeted at E   having all the components in one place - the "bin" directory of the 8   VisualMagick build tree AND the C:\ImageMagick folder.  ?   The C:\ImageMagick folder should contain the following files:          1) magic.mgk,       2) delegates.mgk (derived from nt.mgk)       3) modules.mgk       4) rgb.txt  E   The "bin" folder should contains all EXE's and DLL's as well as the $   very important "modules.mgk" file.  D   With this default setup, you can use any of the command line toolsF   and run scripts as normal. You can actually get by quite nicely thisG   way by doing something like "pushd e:\xxx\yyy\bin" in any scripts you +   write to execute "out of" this directory.   G   ALSO, By default the core of ImageMagick on Win32 always looks in the D   place were the exe program is run from in order to find all of the&   files as well as the DLL's it needs.  ?   Of course - all of this is configurable and there are certain B   environment variables and compiler switches that allow you to doF   whatever you want. Some of these are Windows things and the rest are)   looked at by the core ImageMagick code.      ENVIRONMENT VARIABLES:  G   You can use the "System" control panel to allow you to add and delete E   what is in any of the environment variables. You can even have user -   specific environment variables if you wish.      PATH  H    This sets the default list of places were Windows looks for EXE's andJ    DLL's. Windows CMD shell seems to look in the "current" directory firstE    - no matter what, so that is why you really don't have to muck. If G    you wish to run any of utilities from another location then you must H    add the path to your "bin" directory in. For instance, you might add:  )       D:\CVS\ImageMagick\VisualMagick\bin   F    to do this for the default build environment like I do.  One slightI    problem with this is that fact that Windows has another program called F    "convert". I usually rename this to something else since it is only*    used to convert disks from FAT to NTFS.  
   MAGICK_HOME   C    If all you do is modify the PATH variable, the first problem you C    will run into is that ImageMagick may not be able to find any of E    its "modules. Modules are all the IM_MOD*.DLL files you see in the E    distribution. There is one of these for each and every file format H    that ImageMagick supports. This environment variable tells the systemH    were to look for these DLL's. The compiled in "default" is "executionF    path" - which says - look in the same place that the application isE    running "in". If you are running from somewhere other then "bin" - H    this will no longer work and you must use this variable. If you electD    to leave the modules in the same place as the EXE's (a good idea)1    then you can simply set this to the same place ,    as you did the PATH variable. In my case:         D:\\ImageMagick\coders  >    This is also the place were ImageMagick expects to find theA    "colors.mgk", "delegates.mgk", "magic.mgk", "modules.mgk", and     "type.mgk" files.  H    One cool thing about the modules build of ImageMagick is that you canH    now leave out file formats and lighten you load. If all you ever needG    is GIF and JPEG, then simply drop all the other DLL's into the local '    trash can and get on with your life.   F    WARNING: Always keep the "xc" format, since IM uses it for internal    purposes.  G   ALSO. You can elect to changes these things the good old "hard-coded" #   way. Two #defines are applicable.      defines.h has   6       #define MagickConfigurePath  "c:\\ImageMagick\\"  
   NOTE #3:  D   The two utilities "display" and "animate" will only be usable whenC   the real X11 libraries are included. The other build environments D   uses the X11 stubs to supply non-functional stubs for the X-WindowD   functionality. There is no support for a "static" build of the X11H   support because the build procedures for the X11 libraries do not seem   to support this.  /   To view any image in a Microsoft window, type          convert image.ext win:  F   Make sure Ghostscript is installed, otherwise, you will be unable to(   convert or view a Postscript document.  C   Make sure iexplore (Internet Explorer) is in your execution path, H   otherwise, you will be unable to browse the ImageMagick documentation.  6   The Win2K executables will work under Windows 95/98.     MACINTOSH MacOS 9 COMPILATION   I   The Macintosh distribution contains MetroWerks Codewarrior Professional @   projects for compilation.  For those who do not have access toH   CodeWarrior, the binaries for the command line utilities are enclosed.D   I had to comment the inline intrinsic functions in math.h in order:   to compile.  If you have a better solution, let me know.  D   Display(1), animate(1), and import(1) currently do not work on the   Macintosh.     Magick++  F   Magick++ provides a straightforward C++ language API to ImageMagick.E   Magick++ is built by default under the Unix, Windows, and Mac build @   environments. To disable building Magick++ under Unix, specifyD   --without-magick-plus-plus as an argument to the configure script.  D   Magick++ is currently supported using the following C++ compilers:       gcc 2.95.2 (or later)      Visual C++ 6.0 (Windows)     Visual C++ 7.0 (Windows)     IRIX C++ 7.3.1.1m      HP-UX HP-UX aCC A.03.30 C     Sun Workshop 5.0 C++ (tests/demos require work-around to build)      Sun Forte 6.0 C++ 2     CodeWarrior Professional Release 5 (Macintosh)  ;   and may compile under other modern C++ compilers as well. 