diff --git a/ImageMagick.spec b/ImageMagick.spec
index ecc0c87..39df52a 100644
--- a/ImageMagick.spec
+++ b/ImageMagick.spec
@@ -1,5 +1,5 @@
 %define VERSION  6.5.9
-%define Patchlevel  1
+%define Patchlevel  0
 
 Name:           ImageMagick
 Version:        %{VERSION}
diff --git a/Install-mac.txt b/Install-mac.txt
index f3e26ec..980eb01 100644
--- a/Install-mac.txt
+++ b/Install-mac.txt
@@ -1,55 +1,53 @@
 Mac OS X-specific Build instructions
-
-Perform these steps as an administrator or with the sudo command:
-
-    * Install Fink. The default setup creates a /sw folder on your main hard
-    * drive. Make sure /sw/bin is in your path.
-    * Install the latest Xcode from Apple.
-    * Create a symbolic link in /Developer/SDKs/MacOSX10.4u.sdk/ to /sw:
-
-        cd /Developer/SDKs/MacOSX10.4u.sdk
-        ln -s sw /sw
-
-    * Use Fink, or FinkCommander to install any delegate libraries you
-    * require, for example:
-
-        fink install libjpeg
-
-As a regular user or administrator:
-
-    * Download the ImageMagick source distribution.
-    * Unpack and change into the top-level ImageMagick directory:
-
-        tar xvfz ImageMagick-6.3.3-0.tar.gz
-        cd ImageMagick-6.3.3
-
-    * Choose an architecture and set your CFLAGS environment variable. Here we
-    * set CFLAGS for an Intel build:
-
-        export CFLAGS="-O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk/ -arch i386 -I/sw/include/"
-
-    * Set your LDFLAGS environment variable to:
-
-        export
-LDFLAGS="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk/,-L/sw/lib/"
-
-    * Configure ImageMagick:
-
-        ./configure --prefix=/sw --with-quantum-depth=16 \
-          --disable-dependency-tracking --with-x=yes \
-          --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib \
-          --without-perl
-
-    * Build ImageMagick:
-
-        make
-
-    * Install ImageMagick:
-
-        sudo make install
-
-    * To test the ImageMagick GUI, start X11 and in a new shell and type:
-
-        display -display :0
-
-
+  
+  Perform these steps as an administrator or with the sudo command:
+  
+  Install MacPorts. Download and install http://www.macports.org/ and type the
+  following commands:
+  
+    $magick> sudo port -v install freetype +bytecode
+    $magick> sudo port -v install librsvg
+    $magick> sudo port -v install +graphviz +gs +wmf +jbig +jpeg2 +lcms
+  
+  This installs many of the delegate libraries ImageMagick will utilize such as
+  JPEG and FreeType.
+  
+  Install the latest Xcode from Apple.
+  
+  Use the port command to install any delegate libraries you require, for example:
+  
+    $magick> sudo port install jpeg
+  
+  Now lets build ImageMagick:
+  
+  Download the ImageMagick source distribution and verify the distribution
+  against its message digest.
+  
+  Unpack and change into the top-level ImageMagick directory:
+  
+    $magick> tar xvfz ImageMagick-6.5.9-0.tar.gz $magick> cd ImageMagick-6.5.9
+  
+  Configure ImageMagick:
+  
+    $magick> ./configure --prefix=/opt --with-quantum-depth=16 \
+      --disable-dependency-tracking --with-x=yes \
+      --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib/ \
+      --without-perl
+  
+  Build ImageMagick:
+  
+    $magick> make
+  
+  Install ImageMagick:
+  
+    $magick> sudo make install
+  
+  To verify your install, type
+  
+    $magick> /opt/local/bin/identify -list font
+  
+  to list all the fonts ImageMagick knows about.
+  
+  To test the ImageMagick GUI, in a new shell, type:
+  
+    $magick> display -display :0
diff --git a/Install-unix.txt b/Install-unix.txt
index 434f627..bd59e05 100644
--- a/Install-unix.txt
+++ b/Install-unix.txt
@@ -1,576 +1,647 @@
-UNIX/Cygwin/MinGW COMPILATION
+Download & Unpack
+  
+  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. Download
+  ImageMagick.tar.gz from ftp.imagemagick.org or its mirrors and verify the
+  distribution against its message digest.
+  
+  Unpack the distribution it with this command:
+  
+    $magick> tar xvfz ImageMagick.tar.gz
+  
+  Now that you have the ImageMagick Unix/Linux source distribution unpacked,
+  let's configure it.
+  
+Configure
+  
+  The configure script looks at your environment and decides what it can cobble
+  together to get ImageMagick compiled and installed on your system. This
+  includes finding a compiler, where your compiler header files are located
+  (e.g. stdlib.h), and if any delegate libraries are available for ImageMagick
+  to use (e.g. JPEG, PNG, TIFF, etc.). If you are willing to accept configure's
+  default options, and build from within the source directory, you can simply
+  type:
+  
+    $magick> cd ImageMagick-6.5.9
+     $magick> ./configure
+  
+  Watch the configure script output to verify that it finds everything that
+  you think it should. Pay particular attention to the last lines of the script
+  output. For example, here is a recent report from our system:
+  
+  ImageMagick is configured as follows. Please verify that this configuration
+  matches your expectations.
+  
+    Host system type: x86_64-unknown-linux-gnu
+    Build system type: x86_64-unknown-linux-gnu
+    
+                      Option                     Value
+    ----------------------------------------------------------------------------
+    Shared libraries  --enable-shared=yes		yes
+    Static libraries  --enable-static=yes		yes
+    Module support    --with-modules=yes		yes
+    GNU ld            --with-gnu-ld=yes		yes
+    Quantum depth     --with-quantum-depth=16	16
+    High Dynamic Range Imagery
+                      --enable-hdri=no		no
+    
+    Delegate Configuration:
+    BZLIB             --with-bzlib=yes		yes
+    Autotrace         --with-autotrace=yes	yes
+    DJVU              --with-djvu=yes		no
+    DPS               --with-dps=yes		no
+    FlashPIX          --with-fpx=yes		no
+    FontConfig        --with-fontconfig=yes	yes
+    FreeType          --with-freetype=yes		yes
+    GhostPCL          None			pcl6 (unknown)
+    GhostXPS          None			gxps (unknown)
+    Ghostscript       None			gs (8.63)
+    result_ghostscript_font_dir='none'
+    Ghostscript fonts --with-gs-font-dir=default
+    Ghostscript lib   --with-gslib=yes		no (failed tests)
+    Graphviz          --with-gvc=yes		yes
+    JBIG              --with-jbig=		no
+    JPEG v1           --with-jpeg=yes		yes
+    JPEG-2000         --with-jp2=yes		yes
+    LCMS              --with-lcms=yes		yes
+    LQR               --with-lqr=yes		no
+    Magick++          --with-magick-plus-plus=yes	yes
+    OpenEXR           --with-openexr=yes		yes
+    PERL              --with-perl=yes		/usr/bin/perl
+    PNG               --with-png=yes		yes
+    RSVG              --with-rsvg=yes		yes
+    TIFF              --with-tiff=yes		yes
+    result_windows_font_dir='none'
+    Windows fonts     --with-windows-font-dir=
+    WMF               --with-wmf=yes		yes
+    X11               --with-x=			yes
+    XML               --with-xml=yes		yes
+    ZLIB              --with-zlib=yes		yes
+    
+    X11 Configuration:
+          X_CFLAGS        =
+          X_PRE_LIBS      = -lSM -lICE
+          X_LIBS          =
+          X_EXTRA_LIBS    =
+    
+    Options used to compile and link:
+      PREFIX          = /usr/local
+      EXEC-PREFIX     = /usr/local
+      VERSION         = 6.4.8
+      CC              = gcc -std=gnu99
+      CFLAGS          = -fopenmp -g -O2 -Wall -W -pthread
+      MAGICK_CFLAGS   = -fopenmp -g -O2 -Wall -W -pthread
+      CPPFLAGS        = -I/usr/local/include/ImageMagick
+      PCFLAGS         = -fopenmp
+      DEFS            = -DHAVE_CONFIG_H
+      LDFLAGS         = -lfreetype
+      MAGICK_LDFLAGS  = -L/usr/local/lib -lfreetype
+      LIBS            = -lMagickCore -llcms -ltiff -lfreetype -ljpeg
+                        -lfontconfig -lXext -lSM -lICE -lX11 -lXt -lbz2 -lz
+                        -lm -lgomp -lpthread -lltdl
+      CXX             = g++
+      CXXFLAGS        = -g -O2 -Wall -W -pthread
+  
+  You can influence choice of compiler, compilation flags, or libraries of the
+  configure script by setting initial values for variables in the configure
+  command line. These include, among others:
+  
+    CC
+        Name of C compiler (e.g. cc -Xa) to use.
 
-Note:
+    CXX
+        Name of C++ compiler to use (e.g. CC).
 
-  Platform specific notes regarding specific operating systems may be found
-  in the Platforms.txt file.  This document provides generic instructions
-  which work in most common cases.  Additional notes regarding Cygwin &
-  MinGW are provided later in this file.
+    CFLAGS
+        Compiler flags (e.g. -g -O2) to compile C code.
 
-Type:
+    CXXFLAGS
+        Compiler flags (e.g. -g -O2) to compile C++ code.
 
-    gzip -dc ImageMagick-6.5.4.tar.gz | tar xvf -
-    cd ImageMagick-6.5.4
+    CPPFLAGS
+        Include paths (.e.g. -I/usr/local) to look for header files.
 
-If you do not have gzip(1), the source for the gzip package is available
-as a shell archive at
+    LDFLAGS
+        Library paths (.e.g. -L/usr/local) to look for libraries systems that
+        support the notion of a library run-path may require an additional
+        argument in order to find shared libraries at run time. For example,
+        the Solaris linker requires an argument of the form -R/path. Some
+        Linux systems will work with -rpath /usr/local/lib, while some other
+        Linux systems who's gcc does not pass -rpath to the linker, require
+        an argument of the form -Wl,-rpath,/usr/local/lib.
 
-    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 the 'configure' script to automatically configure, build, and install
-ImageMagick.  The configure script may be executed from the ImageMagick source
-directory (e.g ./configure) or from a seperate build directory by specifying
-the full path to configure (e.g.  /src/ImageMagick-6.5.4/configure).  The
-advantage of using a seperate build directory is that multiple ImageMagick
-builds may share the same ImageMagick source directory while allowing each
-build to use a unique set of options.
-
-If you are willing to accept configure's default options, and build from
-within the source directory, type:
-
-    ./configure
-
-and watch the configure script output to verify that it finds everything
-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/lib', etc..
-You can specify an installation prefix other than `/usr/local' by giving
-`configure' the option `--prefix=PATH'.  This is valuable in case you don't
-have privileges to install under the default paths or if you want to install
-in the system directories instead.
-
-If you are not happy with configure's choice of compiler, compilation flags,
-or libraries, you can give `configure' initial values for variables by
-specifying them on the configure command line, e.g.:
-
-    ./configure CC=c99 CFLAGS=-O2 LIBS=-lposix
-
-Options which should be common to packages installed under the same directory
-heirarchy may be supplied via a 'config.site' file located under the
-installation prefix via the path ${prefix}/share/config.site where ${prefix} is
-the installation prefix.  This file is used for all packages installed under
-that prefix.  This is an example config.site file:
-
-    # 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'
-
-When the 'config.site' file is being used to supply configuration options,
-configure will issue a message similar to:
-
-    configure: loading site script /usr/local/share/config.site
-
-The configure variables you should be aware of are:
-
-    CC          Name of C compiler (e.g. 'cc -Xa') to use
-    CXX         Name of C++ compiler to use (e.g. 'CC')
-    CFLAGS      Compiler flags (e.g. '-g -O2') to compile C code
-    CXXFLAGS    Compiler flags (e.g. '-g -O2') to compile C++ code
-    CPPFLAGS    Include paths (-I/somedir) to look for header files
-    LDFLAGS     Library paths (-L/somedir) to look for libraries
-                Systems that support the notion of a library run-path
-                may require an additional argument in order to find
-                shared libraries at run time. For example, the Solaris
-                linker requires an argument of the form '-R/somedir',
-                some Linux systems will work with '-rpath /somedir',
-                while some other Linux systems who's gcc does not pass
-                -rpath to the linker require an argument of the form
-                '-Wl,-rpath,/somedir'.
-    LIBS        Extra libraries (-lsomelib) required to link
-
-Any variable (e.g. CPPFLAGS or LDFLAGS) which requires a directory path must
-specify an absolute path rather than a relative path.
-
-Configure can usually find the X include and library files automatically, but
-if it doesn't, you can use the `configure' options `--x-includes=DIR' and
-`--x-libraries=DIR' to specify their locations.
-
-The configure script provides a number of ImageMagick specific options.  When
-disabling an option --disable-something is equivalent to specifying
---enable-something=no and --without-something is equivalent to
---with-something=no.  The configure options are as follows (execute 'configure
---help' to see all options).
-
-Optional Features:
- --enable-ccmalloc       enable 'ccmalloc' memory debug support (default disabled)
- --enable-prof           enable 'prof' profiling support (default disabled)
- --enable-gprof          enable 'gprof' profiling support (default disabled)
- --enable-gcov           enable 'gcov' profiling support (default disabled)
- --disable-installed     disable building an installed ImageMagick
-                         (default enabled)
- --disable-largefile     disable support for large (64 bit) file offsets
-
-Optional Packages/Options:
- --with-quantum-depth    number of bits in a pixel quantum (default 8)
- --with-modules          enable support for dynamically loadable modules
- --with-cache            set pixel cache threshhold (defaults to available memory)
- --without-threads       disable threads support
- --with-frozenpaths      enable frozen delegate paths
- --without-magick-plus-plus disable build/install of Magick++
- --without-perl          disable build/install of PerlMagick
-      or
- --with-perl=PERL        use specified Perl binary to configure PerlMagick
- --with-perl-options=OPTIONS  options to pass on command-line when
-                         generating PerlMagick's Makefile from Makefile.PL
- --without-bzlib         disable BZLIB support
- --without-dps           disable Display Postscript support
- --with-fpx              enable FlashPIX support
- --with-gslib            enable Ghostscript library support
- --without-jbig          disable JBIG support
- --without-jpeg          disable JPEG support
- --without-jp2           disable JPEG v2 support
- --without-lcms          disable LCMS support
- --without-png           disable PNG support
- --without-tiff          disable TIFF support
- --without-ttf           disable TrueType support
- --without-wmf           disable WMF support
- --with-fontpath         prepend to default font search path
- --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
- --with-x                use the X Window System
- --with-share-path=DIR   Alternate path to share directory
-                         (default share/ImageMagick)
- --with-libstdc=DIR      use libstdc++ in DIR (for GNU C++)
-
-ImageMagick options represent either features to be enabled, disabled, or
-packages to be included in the build.  When a feature is enabled (via
---enable-something), it enables code already present in ImageMagick.  When a
-package is enabled (via --with-something), the configure script will search for
-it, and if it is properly installed and ready to use (headers and built
-libraries are found by compiler) it will be included in the build.  The
-configure script is delivered with all features disabled and all packages
-enabled. In general, the only reason to disable a package is if a package
-exists but it is unsuitable for the build (perhaps an old version or not
-compiled with the right compilation flags).
-
-Several configure options require special note:
-
-  * --enable-shared: the shared libraries are built and support for
-    loading coder and process modules is enabled. Shared libraries are
-    preferred because they allow programs to share common code, making
-    the individual programs much smaller. In addition shared libraries
-    are required in order for PerlMagick to be dynamically loaded by an
-    installed PERL (otherwise an additional PERL (PerlMagick) must be
-    installed.
-
-    ImageMagick built with delegates (see MAGICK PLUG-INS below) can pose
-    additional challenges. If ImageMagick is built using static libraries (the
-    default without --enable-shared) then delegate libraries may be built as
-    either static libraries or shared libraries. However, if ImageMagick is
-    built using shared libraries, then all delegate libraries must also be
-    built as shared libraries.  Static libraries usually have the extension
-    .a, while shared libraries typically have extensions like .so, .sa, or
-    .dll. Code in shared libraries normally must compiled using a special
-    compiler option to produce Position Independent Code (PIC). The only time
-    this is not necessary is if the platform compiles code as PIC by default.
-
-    PIC compilation flags differ from vendor to vendor (gcc's is
-    -fPIC). However, you must compile all shared library source with the
-    same flag (for gcc use -fPIC rather than -fpic). While static libraries
-    are normally created using an archive tool like 'ar', shared libraries
-    are built using special linker or compiler options (e.g. -shared for gcc).
-
-    Building shared libraries often requires subtantial hand-editing of
-    Makefiles and is only recommended for those who know what they are doing.
-
-    If --enable-shared is not specified, a new PERL interpreter (PerlMagick)
-    is built which is statically linked against the PerlMagick extension. This
-    new interpreter is installed into the same directory as the ImageMagick
-    utilities. If --enable-shared is specified, the PerlMagick extension is
-    built as a dynamically loadable object which is loaded into your current
-    PERL interpreter at run-time. Use of dynamically-loaded extensions is
-    preferable over statically linked extensions so --enable-shared should
-    be specified if possible (note that all libraries used with ImageMagick
-    must be shared libraries!).
-
-  * --disable-static: static archive libraries (with extension .a)
-    are not built.  If you are building shared libraries, there is little
-    value to building static libraries. Reasons to build static libraries
-    include: 1) they can be easier to debug; 2) the clients do not have
-    external dependencies (i.e. libMagick.so); 3) building PIC versions
-    of the delegate libraries may take additional expertise and effort; 4)
-    you are unable to build shared libraries.
-
-  * --disable-installed: By default the ImageMagick build is
-    configured to formally install into a directory tree.  This is the
-    most secure and reliable way to install ImageMagick.  Specifying
-    --disable-installed configures ImageMagick so that it doesn't use
-    hard-coded paths and locates support files by computing an offset path
-    from the executable (or from the location specified by the MAGICK_HOME
-    environment variable. The uninstalled configuration is ideal for binary
-    distributions which are expected to extract and run in any location.
-
-  * --with-modules: image coders and process modules are built as
-    loadable modules which are installed under the directory
-    [prefix]/lib/ImageMagick-X.X.X/modules-QN (where 'N' equals 8, 16,
-    or 32 depending on the quantum depth) in the subdirectories 'coders'
-    and 'filters' respectively. The modules build option is only available
-    in conjunction with --enable-shared. If --enable-shared is not also
-    specified, then support for building modules is disabled.  Note that
-    if --enable-shared is specified, the module loader is active (allowing
-    extending an installed ImageMagick by simply copying a module into place)
-    but ImageMagick itself is not built using modules.
-
-  * --with-quantum-depth: This option allows the user to specify the
-    number of bits to use per pixel quantum (the size of the red, green,
-    blue, and alpha pixel components. For example, "--with-quantum-depth=8"
-    builds ImageMagick using 8-bit quantums.  Most computer display adaptors
-    use 8-bit quantums. Currently supported arguments are 8, 16, or 32. The
-    default is 8. This option is the most important option in determining
-    the overall run-time performance of ImageMagick.
-
-    The number of bits in a quantum determines how many values it may
-    contain. Each quantum level supports 256 times as many values as 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
-
-    Larger pixel quantums cause ImageMagick to run more slowly and to
-    require more memory. For example, using sixteen-bit pixel quantums
-    causes ImageMagick to run 15% to 50% slower (and take twice as much
-    memory) than when it is built to support eight-bit pixel quantums.
-
-    The amount of virtual memory consumed by an image can be computed by
-    the equation (QuantumDepth*Rows*Columns*5)/8. This is an important
-    consideration when resources are limited, particularly since processing
-    an image may require several images to be in memory at one time. The
-    following table shows memory consumption values for a 1024x768 image:
-
-        QuantumDepth  Virtual Memory
-            8              3MB
-           16              8MB
-           32             15MB
-
-  * --without-magick-plus-plus: Disable building Magick++, the C++
-    application programming interface to ImageMagick. A suitable C++
-    compiler is required in order to build Magick++. Specify the CXX
-    configure variable to select the C++ compiler to use (default "g++"),
-    and CXXFLAGS to select the desired compiler opimization and debug flags
-    (default "-g -O2"). Antique C++ compilers will normally be rejected by
-    configure tests so specifying this option should only be necessary if
-    Magick++ fails to compile.
-
-  * --with-frozenpaths: Normally external program names are substituted
-    into the delegates.xml file without full paths. Specify this option
-    to enable saving full paths to programs using locations determined by
-    configure. This is useful for environments where programs are stored
-    under multiple paths, and users may use different PATH settings than
-    the person who builds ImageMagick.
-
-  * --without-threads: By default, the ImageMagick library is compiled
-    with multi-thread support.  If this is undesireable, then specify
-    --without-threads.
-
-  * --with-cache: Specify a different image pixel cache threshold
-    using the --with-cache option. This sets the maximum amount of heap
-    memory that ImageMagick is allowed to consume before switching to using
-    memory-mapped temporary files to store raw pixel data.
-
-  * --disable-largefile: By default, ImageMagick is compiled with
-    support for large (> 2GB on a 32-bit CPU) files if the operating system
-    supports large files.  All applications which use the ImageMagick library
-    must then also include support for large files. By disabling support for
-    large files via --disable-largefile, dependent applications do not require
-    special compilation options for large files in order to use the library.
-
-  * --with-perl: If the argument --with-perl=/path/to/perl is supplied,
-    then /path/to/perl will be taken as the PERL interpreter to use. This
-    is important in case the 'perl' executable in your PATH is not PERL5,
-    or is not the PERL you want to use.
-
-  * --with-perl-options: The PerlMagick module is normally installed
-    using the Perl interpreter's installation PREFIX, rather than
-    ImageMagick's. If ImageMagick's installation prefix is not the same
-    as PERL's PREFIX, then you may find that PerlMagick's 'make install'
-    step tries to install into a directory tree that you don't have write
-    permissions to. This is common when PERL is delivered with the operating
-    system or on Internet Service Provider (ISP) web servers. If you want
-    PerlMagick to install elsewhere, then provide a PREFIX option to PERL's
-    configuration step via "--with-perl-options=PREFIX=/some/place". Other
-    options accepted by MakeMaker are 'LIB', 'LIBPERL_A', 'LINKTYPE',
-    and 'OPTIMIZE'. See the ExtUtils::MakeMaker(3) manual page for more
-    information on configuring PERL extensions.
-
-   * --without-x: By default, ImageMagick uses the X11 delegate libraries if
-     they are available. When --without-x is specified, use of X11 is disabled.
-     The display, animate, and import sub-commands are not included. The
-     remaining sub-commands have reduced functionality such as no access to X11
-     fonts (consider using Postscript or TrueType fonts instead).
-
-  * --with-gs-font-dir: Specify the directory containing the
-    Ghostscript Postscript Type 1 font files (e.g. "n022003l.pfb") so
-    that they can be rendered using the FreeType library. If the font
-    files are installed using the default Ghostscript installation paths
-    (${prefix}/share/ghostscript/fonts), they should be discovered
-    automatically by configure and specifying this option is not
-    necessary. Specify this option if the Ghostscript fonts fail to be
-    located automatically, or the location needs to be overridden.
-
-  * --with-windows-font-dir: Specify the directory containing
-    MS-Windows-compatible fonts. This is not necessary when ImageMagick is
-    running under MS-Windows.
-
-  After you install ImageMagick, install PerlMagick with these commands:
-
-    cd ImageMagick-6.5.4
-    cd PerlMagick
-    perl Makefile.PL
-    make
-    make install
-
-----
-
-Mac OS X-specific Build instructions
-
-Perform these steps as an administrator or with the sudo command:
-
-    * Install Fink. The default setup creates a /sw folder on your main hard
-    * drive. Make sure /sw/bin is in your path.
-    * Install the latest Xcode from Apple.
-    * Create a symbolic link in /Developer/SDKs/MacOSX10.4u.sdk/ to /sw:
-
-        cd /Developer/SDKs/MacOSX10.4u.sdk
-        ln -s sw /sw
-
-    * Use Fink, or FinkCommander to install any delegate libraries you
-    * require, for example:
-
-        fink install libjpeg
-
-As a regular user or administrator:
-
-    * Download the ImageMagick source distribution.
-    * Unpack and change into the top-level ImageMagick directory:
-
-        tar xvfz ImageMagick-6.3.3-0.tar.gz
-        cd ImageMagick-6.3.3
-
-    * Choose an architecture and set your CFLAGS environment variable. Here we
-    * set CFLAGS for an Intel build:
-
-        export CFLAGS="-O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk/ -arch
-i386 -I/sw/include/"
-
-    * Set your LDFLAGS environment variable to:
-
-        export LDFLAGS="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk/,-L/sw/lib/"
-
-    * Configure ImageMagick:
-
-        ./configure --prefix=/sw --with-quantum-depth=16 \
-          --disable-dependency-tracking --with-x=yes \
-          --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib/ \
-          --without-perl
-
-    * Build ImageMagick:
-
-        make
-
-    * Install ImageMagick:
-
-        sudo make install
-
-    * To test the ImageMagick GUI, start X11 and in a new shell and type:
-
-        display -display :0
-
-An alterative method is to download and build ImageMagick with MacPorts.
-Download and install MacPorts and type the following command:
-
-  sudo port install ImageMagick
-
-This not only installs ImageMagick but includes many of the delegate libraries
-such as JPEG and FreeType.
-
-----
-
-Building under Cygwin
-
-  ImageMagick may be built under the Windows '95-XP Cygwin Unix-emulation
-  environment available for free from
-
-    http://www.cygwin.com/
-
-  X11R6 for Cygwin is available from
-
-    http://xfree86.cygwin.com/
-
-  We recommended that the X11R6 package be installed since this enables
-  ImageMagick's X11 support (animate, display, and import sub-commands will
-  work) and it includes the Freetype v2 DLL required to support TrueType
-  and Postscript Type 1 fonts. Make sure that /usr/X11R6/bin is in your PATH
-  prior to running the configure program.
-
-  If you are using Cygwin version 1.3.9 or later, you can specify the configure
-  option '--enable-shared' to build Cygwin DLLs.  This option is required if
-  you want to build PerlMagick under Cygwin because Cygwin does not provide the
-  libperl.a static library required to create a static PerlMagick.  Note that
-  since C++ exceptions do not currently work properly when thrown from a DLL,
-  the Magick++ library is always built as a static library. Be sure to not
-  specify --disable-static if you are building the Magick++ library since that
-  would surely lead to problems.
-
-----
-
-Building under MinGW & MSYS
-
-  ImageMagick may be built using the free MinGW ("Minimalistic GNU for
-  Windows") package version 1.1, available from
-
-    http://www.mingw.org
-
-  which consists of a GNU-based (e.g. gcc) compilation toolset plus headers
-  and libraries required to build programs which are entirely based on
-  standard Microsoft Windows DLLs. MSYS provides a Unix-like console shell
-  window with sufficient functionality to run the ImageMagick configure
-  script and execute make.
-
-  Unlike the Cygwin build which creates programs based on a Unix-emulation
-  DLL, and which uses Unix-style paths to access Windows files, the MinGW
-  build creates native Windows console applications similar to the Visual
-  C++ build.
-
-  Please note that since the MinGW build is very new, some aspects of the
-  installation may vary from Windows user's expectations, and that only a
-  static build (no DLLs or modules) is currently supported.
-
-  Once MinGW & MSYS have been installed, start the MSYS console (via the
-  MSYS icon on the Windows desktop) and follow the Unix configure and build
-  instructions. Note that the default installation prefix is "/usr/local"
-  which installs the package into a MSYS directory. To install outside
-  of the MSYS directory tree, you may specify an installation prefix like
-  "/c/ImageMagick" which causes the package to be installed under the Windows
-  directory "C:\ImageMagick". The installation directory structure will look
-  very much like the Unix installation layout (e.g. "C:\ImageMagick\bin",
-  "C:\ImageMagick\lib", "C:\ImageMagick\share", etc.). Any additional
-  delegate libraries (e.g. libpng) will need to be built under MinGW in
-  order to be used.
-
-----
-
-Dealing with configuration failures:
-
+    LIBS
+        Extra libraries (.e.g. -l/usr/local/lib) required to link.
+  
+  Here is an example of setting configure variables from the command line:
+  
+    $magick> ./configure CC=c99 CFLAGS=-O2 LIBS=-lposix
+  
+  Any variable (e.g. CPPFLAGS or LDFLAGS) which requires a directory path must
+  specify an absolute path rather than a relative path.
+  
+  Configure can usually find the X include and library files automagically,
+  but if it doesn't, you can use the --x-includes=path and --x-libraries=path
+  options to specify their locations.
+  
+  The configure script provides a number of ImageMagick specific
+  options. When disabling an option --disable-something is equivalent to
+  specifying --enable-something=no and --without-something is equivalent to
+  --with-something=no. The configure options are as follows (execute configure
+  --help to see all options).
+  
+  ImageMagick options represent either features to be enabled, disabled,
+  or packages to be included in the build. When a feature is enabled (via
+  --enable-something), it enables code already present in ImageMagick. When a
+  package is enabled (via --with-something), the configure script will search
+  for it, and if is properly installed and ready to use (headers and built
+  libraries are found by compiler) it will be included in the build. The
+  configure script is delivered with all features disabled and all packages
+  enabled. In general, the only reason to disable a package is if a package
+  exists but it is unsuitable for the build (perhaps an old version or not
+  compiled with the right compilation flags).
+  
+  Here are the optional features you can configure:
+  
+    --enable-shared
+      build the shared libraries and support for loading coder and process
+      modules. Shared libraries are preferred because they allow programs
+      to share common code, making the individual programs much smaller. In
+      addition shared libraries are required in order for PerlMagick to be
+      dynamically loaded by an installed PERL (otherwise an additional PERL
+      (PerlMagick) must be installed.
+  
+      ImageMagick built with delegates (see MAGICK PLUG-INS below) can pose
+      additional challenges. If ImageMagick is built using static libraries (the
+      default without --enable-shared) then delegate libraries may be built as
+      either static libraries or shared libraries. However, if ImageMagick is
+      built using shared libraries, then all delegate libraries must also be
+      built as shared libraries. Static libraries usually have the extension
+      .a, while shared libraries typically have extensions like .so, .sa, or
+      .dll. Code in shared libraries normally must compiled using a special
+      compiler option to produce Position Independent Code (PIC). The only
+      time this not necessary is if the platform compiles code as PIC by
+      default.
+  
+      PIC compilation flags differ from vendor to vendor (gcc's is
+      -fPIC). However, you must compile all shared library source with the
+      same flag (for gcc use -fPIC rather than -fpic). While static libraries
+      are normally created using an archive tool like ar, shared libraries
+      are built using special linker or compiler options (e.g. -shared for gcc).
+  
+      If --enable-shared is not specified, a new PERL interpreter (PerlMagick)
+      is built which is statically linked against the PerlMagick extension. This
+      new interpreter is installed into the same directory as the ImageMagick
+      utilities. If --enable-shared is specified, the PerlMagick extension is
+      built as a dynamically loadable object which is loaded into your current
+      PERL interpreter at run-time. Use of dynamically-loaded extensions is
+      preferable over statically linked extensions so use --enable-shared if
+      possible (note that all libraries used with ImageMagick must be shared
+      libraries!).
+  
+    --disable-static
+      static archive libraries (with extension .a) are not built. If you
+      are building shared libraries, there is little value to building static
+      libraries. Reasons to build static libraries include: 1) they can be
+      easier to debug; 2) clients do not have external dependencies (i.e.
+      libMagick.so); 3) building PIC versions of the delegate libraries may
+      take additional expertise and effort; 4) you are unable to build shared
+      libraries.
+  
+    --disable-installed
+      disable building an installed ImageMagick (default enabled).
+  
+      By default the ImageMagick build is configured to formally install
+      into a directory tree. This the most secure and reliable way to install
+      ImageMagick. Use this option to configure ImageMagick so that it doesn't
+      use hard-coded paths and locates support files by computing an offset path
+      from the executable (or from the location specified by the MAGICK_HOME
+      environment variable. The uninstalled configuration is ideal for binary
+      distributions which are expected to extract and run in any location.
+  
+    --enable-ccmalloc
+      enable 'ccmalloc' memory debug support (default disabled).
+  
+    --enable-prof
+      enable 'prof' profiling support (default disabled).
+  
+    --enable-gprof
+      enable 'gprof' profiling support (default disabled).
+  
+    --enable-gcov
+   
+     enable 'gcov' profiling support (default disabled).
+    --disable-openmp
+      disable OpenMP (default enabled).
+  
+      Certain ImageMagick algorithms, for example convolution, can achieve
+      a significant speed-up with the assistance of the OpenMP API when
+      running on modern dual and quad-core processors.
+  
+    --disable-largefile
+      disable support for large (64 bit) file offsets.
+  
+      By default, ImageMagick is compiled with support for large files (>
+      2GB on a 32-bit CPU) if the operating system supports large files. Some
+      applications which use the ImageMagick library may also require support
+      for large files. By disabling support for large files via
+      --disable-largefile, dependent applications do not require special
+      compilation options for large files in order to use the library.
+  
+  Here are the optional packages you can configure:
+  
+    --with-quantum-depth
+      number of bits in a pixel quantum (default 16).
+  
+      Use this option to specify the number of bits to use per pixel quantum
+      (the size of the red, green, blue, and alpha pixel components). For
+      example, --with-quantum-depth=8 builds ImageMagick using 8-bit quantums.
+      Most computer display adapters use 8-bit quantums. Currently supported
+      arguments are 8, 16, or 32. We recommend the default of 16 because
+      some image formats support 16 bits-per-pixel. However, this option is
+      important in determining the overall run-time performance of ImageMagick.
+  
+      The number of bits in a quantum determines how many values it may
+      contain. Each quantum level supports 256 times as many values as the
+      previous level. The following table shows the range available for various
+      quantum sizes.
+  
+        Quantum Depth  Valid Range (Decimal)  Valid Range (Hex)
+            8             0-255                  00-FF
+           16             0-65535                0000-FFFF
+           32             0-4294967295           00000000-FFFFFFFF
+        
+      Larger pixel quantums can cause ImageMagick to run more slowly and to
+      require more memory. For example, using sixteen-bit pixel quantums can
+      cause ImageMagick to run 15% to 50% slower (and take twice as much memory)
+      than when it is built to support eight-bit pixel quantums.
+  
+      The amount of virtual memory consumed by an image can be computed by
+      the equation (5 * Quantum Depth * Rows * Columns) / 8. This an important
+      consideration when resources are limited, particularly since processing
+      an image may require several images to be in memory at one time. The
+      following table shows memory consumption values for a 1024x768 image:
+  
+        Quantum Depth   Virtual Memory
+             8               3MB
+            16               8MB
+            32              15MB
+  
+    --enable-hdri
+      accurately represent the wide range of intensity levels (experimental).
+  
+    --enable-osx-universal-binary
+      build a universal binary on OS X.
+  
+    --without-modules
+      disable support for dynamically loadable modules.
+  
+      Image coders and process modules are built as loadable modules which are
+      installed under the directory [prefix]/lib/ImageMagick-X.X.X/modules-QN
+      (where 'N' equals 8, 16, or 32 depending on the quantum depth) in the
+      subdirectories coders and filters respectively. The modules build option
+      is only available in conjunction with --enable-shared. If --enable-shared
+      is not also specified, support for building modules is disabled. Note that
+      if --enable-shared and --disable-modules are specified, the module loader
+      is active (allowing extending an installed ImageMagick by simply copying
+      a module into place) but ImageMagick itself is not built using modules.
+  
+    --with-cache
+      set pixel cache threshold (defaults to available memory).
+  
+      Specify a different image pixel cache threshold with this option. This
+      sets the maximum amount of heap memory that ImageMagick is allowed to
+      consume before switching to using memory-mapped temporary files to store
+      raw pixel data.
+  
+    --without-threads
+      disable threads support.
+  
+      By default, the ImageMagick library is compiled with multi-thread
+      support. If this undesirable, specify --without-threads.
+  
+    --with-frozenpaths
+      enable frozen delegate paths.
+  
+      Normally, external program names are substituted into the delegates.xml
+      configuration file without full paths. Specify this option to enable
+      saving full paths to programs using locations determined by configure.
+      This useful for environments where programs are stored under multiple
+      paths, and users may use different PATH settings than the person who
+      builds ImageMagick.
+  
+    --without-magick-plus-plus
+      disable build/install of Magick++.
+  
+      Disable building Magick++, the C++ application programming interface
+      to ImageMagick. A suitable C++ compiler is required in order to build
+      Magick++. Specify the CXX configure variable to select the C++ compiler
+      to use (default g++), and CXXFLAGS to select the desired compiler
+      optimization and debug flags (default -g -O2). Antique C++ compilers
+      will normally be rejected by configure tests so specifying this option
+      should only be necessary if Magick++ fails to compile.
+  
+    --without-perl
+      disable build/install of PerlMagick, or
+  
+      By default, PerlMagick is conveniently compiled and installed as part
+      of ImageMagick's normal configure, make, sudo make install process. When
+      --without-perl is specified, you must first install ImageMagick, change to
+      the PerlMagick subdirectory, build, and finally install PerlMagick. Note,
+      PerlMagick is configured even if --without-perl is specified. If the
+      argument --with-perl=/path/to/perl is supplied, /../path/to/perl is be
+      taken as the PERL interpreter to use. This important in case the perl
+      executable in your PATH is not PERL5, or is not the PERL you want to use.
+  
+    --with-perl=PERL
+      use specified Perl binary to configure PerlMagick.
+  
+    --with-perl-options=OPTIONS
+      options to pass on command-line when generating PerlMagick's Makefile
+      from Makefile.PL.
+  
+      The PerlMagick module is normally installed using the Perl interpreter's
+      installation PREFIX, rather than ImageMagick's. If ImageMagick's
+      installation prefix is not the same as PERL's PREFIX, then you
+      may find that PerlMagick's sudo make install step tries to install
+      into a directory tree that you don't have write permissions to. This
+      common when PERL is delivered with the operating system or on Internet
+      Service Provider (ISP) web servers. If you want PerlMagick to install
+      elsewhere, then provide a PREFIX option to PERL's configuration step
+      via "--with-perl-options=PREFIX=/some/place". Other options accepted by
+      MakeMaker are 'LIB', 'LIBPERL_A', 'LINKTYPE', and 'OPTIMIZE'. See the
+      ExtUtils::MakeMaker(3) manual page for more information on configuring
+      PERL extensions.
+  
+    --without-bzlib
+      disable BZLIB support.
+  
+    --without-dps
+      disable Display Postscript support.
+  
+    --with-fpx
+      enable FlashPIX support.
+  
+    --without-freetype
+      disable TrueType support.
+  
+    --with-gslib
+      enable Ghostscript library support.
+  
+    --without-jbig
+      disable JBIG support.
+  
+    --without-jpeg
+      disable JPEG support.
+  
+    --without-jp2
+      disable JPEG v2 support.
+  
+    --without-lcms
+      disable LCMS support.
+  
+    --without-png
+      disable PNG support.
+  
+    --without-tiff
+      disable TIFF support.
+  
+    --without-wmf
+      disable WMF support.
+  
+    --with-fontpath
+      prepend to default font search path.
+  
+    --with-gs-font-dir
+      directory containing Ghostscript fonts.
+  
+      Specify the directory containing the Ghostscript Postscript Type 1 font
+      files (e.g. n022003l.pfb) so that they can be rendered using the FreeType
+      library. If the font files are installed using the default Ghostscript
+      installation paths (${prefix}/share/ghostscript/fonts), they should
+      be discovered automagically by configure and specifying this option is
+      not necessary. Specify this option if the Ghostscript fonts fail to be
+      located automagically, or the location needs to be overridden.
+  
+    --with-windows-font-dir
+      directory containing MS-Windows fonts.
+  
+      Specify the directory containing MS-Windows-compatible fonts. This not
+      necessary when ImageMagick is running under MS-Windows.
+  
+    --without-xml
+      disable XML support.
+  
+    --without-zlib
+      disable ZLIB support.
+  
+    --without-x
+      don't use the X Window System.
+  
+      By default, ImageMagick uses the X11 delegate libraries if they are
+      available. When --without-x is specified, use of X11 is disabled. The
+      display, animate, and import sub-commands are not included. The remaining
+      sub-commands have reduced functionality such as no access to X11 fonts
+      (consider using Postscript or TrueType fonts instead).
+  
+    --with-share-path=DIR
+      Alternate path to share directory (default share/ImageMagick).
+  
+    --with-libstdc=DIR
+      use libstdc++ in DIR (for GNU C++).
+  
   While configure is designed to ease installation of ImageMagick, it often
   discovers problems that would otherwise be encountered later when compiling
   ImageMagick. The configure script tests for headers and libraries by
   executing the compiler (CC) with the specified compilation flags (CFLAGS),
   pre-processor flags (CPPFLAGS), and linker flags (LDFLAGS). Any errors are
-  logged to the file 'config.log'. If configure fails to discover a header
-  or library please review this log file to determine why, however, please
-  be aware that *errors in the config.log are normal* because configure
-  works by trying something and seeing if it fails. An error in config.log
-  is only a problem if the test should have passed on your system. After
-  taking corrective action, be sure to remove the 'config.cache' file before
-  running configure so that configure will re-inspect the environment rather
-  than using cached values.
-
+  logged to the file config.log. If configure fails to discover a header or
+  library please review this log file to determine why, however, please be
+  aware that *errors in the config.log are normal* because configure works by
+  trying something and seeing if it fails. An error in config.log is only a
+  problem if the test should have passed on your system.
+  
   Common causes of configure failures are: 1) a delegate header is not in the
   header include path (CPPFLAGS -I option); 2) a delegate library is not in
-  the linker search/run path (LDFLAGS -L/-R option); 3) a delegate library
-  is missing a function (old version?); 4) compilation environment is faulty.
-
+  the linker search/run path (LDFLAGS -L/-R option); 3) a delegate library is
+  missing a function (old version?); or 4) compilation environment is faulty.
+  
   If all reasonable corrective actions have been tried and the problem appears
   be due to a flaw in the configure script, please send a bug report to the
-  ImageMagick Defect Support Forum at
-  http://studio.imagemagick.org/magick/viewforum.php?f=3.  All bug reports
-  should contain the operating system type (as reported by 'uname -a') and the
-  compiler/compiler-version. A copy of the configure script output and/or the
-  config.log file may be valuable in order to find the problem.  If you send a
-  config.log, please also send a script of the configure output and a
+  ImageMagick Defect Support Forum. All bug reports should contain the operating
+  system type (as reported by uname -a) and the compiler/compiler-version. A
+  copy of the configure script output and/or the relevant portion of config.log
+  file may be valuable in order to find the problem. If you post portions
+  of config.log, please also send a script of the configure output and a
   description of what you expected to see (and why) so the failure you are
   observing can be identified and resolved.
-
-----
-
-Makefile Build Targets
-
-  Once ImageMagick is configured, these standard build targets are
-  available from the generated Makefiles:
-
-  * Build the package
-
-        make
-
-  * Install the package
-
-        make install
-
-  * Run tests using the installed ImageMagick ('make install' must be done
-    first!).  Ghostscript is a prerequisite, otherwise the EPS, PS, and PDF
-    tests will fail.
-
-        make check
-
-  * Remove everything in the build directory created by 'make'.
-
-        make clean
-
-  * Remove everything in the build directory created by 'configure' and 'make'.
-    This is useful if you want to start over from scratch.
-
-        make distclean
-
-  * Remove all files from the system which are (or would be) installed by
-    'make install' using the current configuration.  Note that this target is
-    imperfect for PerlMagick since Perl no longer supports an 'uninstall' target.
-
-        make uninstall
-
-----
-
-Build & Install:
-
-  Now that ImageMagick is configured, type
-
-     make
-
-  to build the package and
-
-     make install
-
-  to install it.
-
-----
-
-Verifying The Build:
-
-  To confirm your installation of the ImageMagick distribution was successful,
-  ensure that the installation directory is in your executable search path and
-  type:
-
-    display
-
-  The ImageMagick logo is displayed on your X11 display.
-
-  If the image colors are not correct use this command:
-
-    display -visual default
-
-  For a more serious test, you may run the ImageMagick test suite by
-  typing
-
+  
+  ImageMagick is now configured and ready to build
+  
+Build
+  
+  Once ImageMagick is configured, these standard build targets are available
+  from the generated make files:
+  
+    make
+      build ImageMagick.
+  
+    sudo make install
+      install ImageMagick.
+  
     make check
+      Run tests using the installed ImageMagick (sudo make install must be
+      done first). Ghostscript is a prerequisite, otherwise the EPS, PS,
+      and PDF tests will fail.
+  
+    make clean
+      Remove everything in the build directory created by make.
+  
+    make distclean
+      remove everything in the build directory created by configure and
+      make. This useful if you want to start over from scratch.
+  
+    make uninstall
+      Remove all files from the system which are (or would be) installed by sudo
+      make install using the current configuration. Note that this target is
+      imperfect for PerlMagick since Perl no longer supports an uninstall
+      target.
+  
+  In most cases you will simply wand to compile ImageMagick with this command:
+  
+    $magick> make
+  
+  Once built, you can optionally install ImageMagick on your system as
+  discussed below.
+  
+Install
+  
+  Now that ImageMagick is configured and built, type:
+  
+    $magick> make install
+  
+  to install it.
+  
+  By default, ImageMagick is installs binaries in /../usr/local/bin, libraries
+  in /../usr/local/lib, header files in /../usr/local/include and documentation
+  in /../usr/local/share. You can specify an alternative installation prefix
+  other than /../usr/local by giving configure the option --prefix=PATH. This
+  valuable in case you don't have privileges to install under the default
+  paths or if you want to install in the system directories instead.
+  
+  To confirm your installation of the ImageMagick distribution was successful,
+  ensure that the installation directory is in your executable search path
+  and type:
+  
+    $magick> display
+  
+  The ImageMagick logo is displayed on your X11 display.
+  
+  To verify the ImageMagick build configuration, type:
+  
+    $magick> identify -list configure
+  
+  To list which image formats are supported , type:
+  
+    $magick> identify -list format
+  
+  For a more comprehensive test, you run the ImageMagick test suite by typing:
+  
+    $magick> make check
+  
+  Ghostscript is a prerequisite, otherwise the EPS, PS, and PDF tests will
+  fail. Note that due to differences between the developer's environment and
+  your own it is possible that a few tests may fail even though the results are
+  ok. Differences between the developer's environment environment and your own
+  may include the compiler, the CPU type, and the library versions used. The
+  ImageMagick developers use the current release of all dependent libraries.
 
-  Note that due to differences between the developer's environment and
-  your own it is possible that some tests may be indicated as failed even
-  though the results are ok. Differences between the developer's environment
-  and your own may include the compiler, the CPU type, and the library
-  versions used. The ImageMagick developers use the current release of all
-  dependent libraries.
+Linux-specific Build instructions
+  
+  Download ImageMagick.src.rpm from ftp.imagemagick.org or its mirrors and
+  verify the distribution against its message digest.
+  
+  Build ImageMagick with this command:
+  
+    $magick> rpmbuild --rebuild ImageMagick.src.rpm
+  
+  After the build you, locate the RPMS folder and install the ImageMagick
+  binary RPM distribution:
+  
+    $magick> rpm -ivh ImageMagick-6.5.9-?.*.rpm
+  
+MinGW-specific Build instructions
+  
+  Although you can download and install delegate libraries yourself, many
+  are already available in the GnuWin32 distribution. Download and install
+  whichever delegate libraries you require such as JPEG, PNG, TIFF, etc. Make
+  sure you specify the development headers when you install a package. Next
+  type,
+  
+    $magick> tar jxvf ImageMagick-6.5.9-?.tar.bz2
+    $magick> cd ImageMagick-6.5.9
+    $magick> export CPPFLAGS="-Ic:/Progra~1/GnuWin32/include"
+    $magick> export LDFLAGS="-Lc:/Progra~1/GnuWin32/lib"
+    $magick> ./configure --without-perl
+    $magick> make $magick> sudo make install
+  
+Dealing with Unexpected Problems
+  
+  Chances are the download, configure, build, and install of ImageMagick went
+  flawlessly as it is intended, however, certain systems and environments may
+  cause one or more steps to fail. We discuss a few problems we've run across
+  and how to take corrective action to ensure you have a working release
+  of ImageMagick
+  
+  Build Problems
+  
+  If the build complains about missing dependencies (e.g. .deps/source.PLO),
+  add --disable-dependency-tracking to your configure command line.
+  
+  Some systems may fail to link at build time due to unresolved symbols. Try
+  adding the LDFLAGS to the configure command line:
+  
+    $magick> configure LDFLAGS='-L/usr/local/lib -R/usr/local/lib'
+  
+  Dynamic Linker Run-time Bindings
+  
+  On some systems, ImageMagick may not find its shared library, libMagick.so. Try
+  running the ldconfig with the library path:
+  
+    $magick> /sbin/ldconfig /usr/local/lib
+  
+  Solaris and Linux systems have the ldd command which is useful to track which
+  libraries ImageMagick depends on:
+  
+    $magick> ldd `which convert`
+  
+  Delegate Libraries
+  
+  On occasion you may receive these warnings:
+  
+    no decode delegate for this image format
+    no encode delegate for this image format
+  
+  This exception indicates that an external delegate library or its headers
+  were not available when ImageMagick was built. To add support for the image
+  format, download and install the requisite delegate library and its header
+  files and reconfigure, rebuild, and reinstall ImageMagick. As an example,
+  lets add support for the JPEG image format. First we install the JPEG RPMS:
+  
+    $magick> yum install libjpeg libjpeg-devel
+  
+  Now reconfigure, rebuild, and reinstall ImageMagick. To verify JPEG is now
+  properly supported within ImageMagick, use this command:
+  
+    $magick> identify -list format
+  
+  You should see a mode of rw- associated with the JPEG tag. This mode means
+  the image can be read or written and can only support one image per image
+  file.
+  
+PerlMagick
+  
+  If PerlMagick fails to link with a message similar to libperl.a is not found,
+  rerun configure with the --enable-shared or --enable-shared --with-modules
+  options.
diff --git a/Install-vms.txt b/Install-vms.txt
index f2ab3ed..6daa97c 100644
--- a/Install-vms.txt
+++ b/Install-vms.txt
@@ -1,4 +1,3 @@
-
 VMS COMPILATION
 
   You might want to check the values of certain program definitions
@@ -7,7 +6,7 @@
 
   Type
 
-      unzip ImageMagick-6.1.0.zip
+      unzip ImageMagick-6.5.9-0.zip
 			set default [.imagemagick]
 			@make
       set display/create/node=node_name::
@@ -26,14 +25,8 @@
 
       display
 
-  Alternatively, get a zipped distribution (with JPEG, PNG, TIFF, TTF)
-  from
-
-      ftp://ftp.imagemagick.org/pub/ImageMagick/vms/ImageMagick-6.1.0.zip
-
   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.
+  as well as the VMS versions of the JPEG, PNG, TTF, and TIFF libraries.
 
   Thanks to Joukj@hrem.stm.tudelft.{nl} for providing a patches to get
   ImageMagick working under OpenVMS.  See
diff --git a/Install-windows.txt b/Install-windows.txt
index 4ba828c..d2948b9 100644
--- a/Install-windows.txt
+++ b/Install-windows.txt
@@ -1,253 +1,402 @@
-WINDOWS XP/Win2K/98 VISUAL C++ 6.0 AND 7.0 COMPILATION
-
-  The Visual C++ distribution targeted at Windows XP, Win2K, or Windows
-  98 does not provide any stock workspace (DSW) or project files (DSP)
-  except for those included with third party libraries. Instead, there
-  is a `configure' program that must be built and run that creates build
-  environments to satisfy various requirements.
-
-  The Visual C++ system provides three different types of "runtimes" that
-  must match across all application, library, and DLL code that is 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 (VisualDynamicMT).
-    2) Static Single-threaded runtimes (VisualStaticST).
-    3) Static Multi-threaded runtimes (VisualStaticMT).
-    4) Static Multi-threaded DLL runtimes (VisualStaticMTDLL).
-
+Download & Unpack
+  
+  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. If you don't have a compiler you can still install a self-installing
+  binary release.
+  
+  Download ImageMagick-windows.zip from ftp.imagemagick.org or its mirrors
+  and verify the distribution against its message digest.
+  
+  You can unpack the distribution with WinZip or type the following from any
+  MS-DOS Command Prompt window:
+  
+    $magick> unzip ImageMagick-windows.zip
+  
+  Now that you have the ImageMagick Windows source distribution unpacked,
+  let's configure it.
+  
+Configure
+  
+  These instructions are specific to building ImageMagick with the Visual
+  Studio under Windows XP, Win2K, or Windows 98. ImageMagick does not include
+  any workspace (DSW) or project files (DSP) except for those included with
+  third party libraries. Instead, there is a configure program that must be
+  built and run which creates the Visual Studio workspaces for ImageMagick. The
+  Visual Studio system provides four different types of runtime environments
+  that must match across all application, library, and dynamic-library (DLL)
+  code that is built. The configure program creates a set of build files that
+  are consistent for a specific runtime selection listed here:
+  
+     1. Dynamic Multi-threaded DLL runtimes (VisualDynamicMT).
+     2. Static Single-threaded runtimes (VisualStaticST).
+     3. Static Multi-threaded runtimes (VisualStaticMT).
+     4. Static Multi-threaded DLL runtimes (VisualStaticMTDLL).
+  
   In addition to these runtimes, the VisualMagick build environment allows
-  you to select whether to include the X11 libraries in the build or not.
-  X11 DLLs and headers are provided with the VisualMagick build environment.
-  Most Windows users do not use X11 so they will prefer to build without
-  X11 support.  Without X11 support, the `animate', `display', and `import'
-  will not work.
-
-  This leads to five different possible build options, which should cover
-  almost any particular situation.  The default binary distribution is built
-  using #1 from above with the X11 libraries included.  This results in an
-  X11 compatible build using all DLL's for everything and multi-threaded
-  support (the only option for DLL's).
-
-  To do a build for your requirements, simply go to the configure subdirectory
-  under VisualMagick and open the configure.dsw workspace (for Visual C++
-  6.0) or configure.sln (for Visual C++ 7.0). Set the build configuration to
-  "Release" under the
-
-      "Build..., Set Active Configuration..."
-
-  menu.
-
+  you to select whether to include the X11 libraries in the build or not. X11
+  DLLs and headers are provided with the VisualMagick build environment. Most
+  Windows users are probably not interested in using X11, so you might prefer
+  to build without X11 support. Since the animate, display, and import program
+  depends on the X11 delegate libraries, these programs will no work if you
+  choose not to include X11 support.
+  
+  This leads to five different possible build options. The default binary
+  distribution is built using the Dynamic Multi-threaded DLL (VisualDynamicMT)
+  option with the X11 libraries included. This results in an X11 compatible
+  build using all DLL's for everything and multi-threaded support (the only
+  option for DLL's).
+  
+  To create a workspace for your requirements, simply go to the
+  VisualMagick\configure folder and open the configure.dsw workspace (for
+  Visual Studio 6) or configure.sln (for Visual Studio 7 or 8). Set the build
+  configuration to Release.
+  
   Build and execute the configure program and follow the on-screen
-  instructions.  Generally you can accept the configuration defaults.
-
-  The configure program provides a button titled
-
-     Edit "magick_config.h"
-
-  Clicking this button allows you to edit `magick_config.h' in a Windows
-  Notepad window for optionally changing any preprocessor defines.
-  This file is copied to `magick\magick_config.h'.  You may safely open
-  `magick\magick_config.h', modify it, and recompile without re-running the
-  configure program.  In fact, using the notepad program to edit the copied
-  file may be preferable since it preserves the original `magick_config.hi'
-  file.
-
-  Key user tunables in magick_config.h include:
-
+  instructions. You should not change any of the defaults unless you have a
+  specific reason to do so.
+  
+  The configure program has a button entitled:
+  
+    Edit "magick_config.h"
+  
+  Click on this button to bring up magick-config.h in Windows Notepad. Review and
+  optionally change any preprocessor defines in ImageMagick's magick_config.h
+  file to suit your needs. This file is copied to magick\magick_config.h. You
+  may safely open magick\magick_config.h, modify it, and recompile without
+  re-running the configure program. In fact, using Notepad to edit the copied
+  file may be preferable since it preserves the original magick_config.h file.
+  
+  Key user defines in magick_config.h include:
+  
     MAGICKCORE_QUANTUM_DEPTH (default 16)
-
-      Specify the size of PixelPacket color Quantums (8, 16, or 32).
-      If you need to preserve the fidelity of 16-bit images (gray, png,
-      etc), use 16.  If you want to work in remote sensing or if you are
-      a mad scientist you might consider 32.  Note, that a quantum-depth
-      16 uses 4-times as much memory as the default quantum-depth of 8,
-      whereas a quantum-depth of 32 uses 16-times as much memory.
-
+      Specify the depth of the pixel component depth (8, 16, or 32). A value of 8
+      uses half the memory than 16 and may run 30% faster, but provides 256 times
+      less color resolution than a value of 16. We recommend a quantum depth
+      of 16 because 16-bit images are becoming more prevalent on the Internet.
+  
     MAGICKCORE_INSTALLED_SUPPORT (default undefined)
-
-      Define to build an ImageMagick which uses registry settings or embedded
+      Define to build a ImageMagick which uses registry settings or embedded
       paths to locate installed components (coder modules and configuration
-      files).  The default is to look for all files in the same directory
-      as the executable.
-
+      files). The default is to look for all files in the same directory as
+      the executable. You will wand to define this value if you intend on
+      installing ImageMagick on your system.
+  
     ProvideDllMain (default defined)
-
       Define to include a DllMain() function ensures that the ImageMagick
       DLL is properly initialized without participation from dependent
-      applications.  This avoids the requirement to invoke IntializeMagick()
-      from dependent applications but only works for DLL builds.
-
-  After creating your build environment you can proceed to open the DSW
-  (or SLN) file that was generated in the VisualMagick directory and build
-  everything from there.
-
-  In the final DSW file you will find a project call "All". In order to
-  build everything in the distribution, select this project and make it the
-  "active" project. Set the build configuration to the desired one (Debug,
-  or Release) and do a "clean" followed by a "build".  You should do the
-  build in a specific way:
-
-    1) Make the "All" project the active project (Bold)
-       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!.
-
-  The "Clean" step is needed in order to make sure that all of the target
-  support libraries are updated with any patches needed to get them to
-  compile properly under Visual C++.
-
-  All of the required files that are needed to run any of the command
-  line tools will be found in the "bin" subdirectory of the VisualMagick
-  subdirectory.  This includes EXE, and DLL files. You should be able to test
-  the build directly from this directory without having to move anything to any
-  of the global SYSTEM or SYSTEM32 areas in the operating system installation.
-
-  Note #1:
-
-  The Visual C++ distribution of ImageMagick comes with the Magick++
-  C++ wrapper by default.  This add-on layer has a large number of demo
+      applications. This avoids the requirement to invoke IntializeMagick()
+      from dependent applications is only useful for DLL builds.
+  
+  ImageMagick is now configured and ready to build.
+  
+  The default build is WIN32. For 64-bit, open a newly created static solution
+  and enter Configuration Manager. Add a x64 configuration, copying the
+  configuration from WIn32. Be sure that it adds the configuration to all the
+  projects. Now compile.
+  
+Build
+  
+  After creating your build environment, proceed to open the DSW (or SLN)
+  workspace in the VisualMagick folder. In the DSW file choose the All project
+  to make it the active project. Set the build configuration to the desired one
+  (Debug, or Release) and clean and build:
+  
+     1. Right click on the All project and select Set As Active Project
+     2. Select "Build=>Clean Solution"
+     3. Select "Build=>Build Solution"
+  
+  The clean step is necessary in order to make sure that all of the target
+  support libraries are updated with any patches needed to get them to compile
+  properly under Visual Studio.
+  
+  After a successful build, all of the required files that are needed to run
+  any of the command line tools are located in the VisualMagick\bin folder. This
+  includes EXE, DLL libraries, and ImageMagick configuration files. You should
+  be able to test the build directly from this directory without having to
+  move anything to any of the global SYSTEM or SYSTEM32 areas in the operating
+  system installation.
+  
+  The Visual Studio distribution of ImageMagick comes with the Magick++
+  C++ wrapper by default. This add-on layer has a large number of demo
   and test files that can be found in ImageMagick\Magick++\demo, and
-  ImageMagick\Magick++\tests. There are also a variety of tests that use
-  the straight C API as well in ImageMagick\tests.
-
-  All of these programs are NOT configured to be built in the default
-  workspace created by the configure program.  You can build these demos
-  and test programs to be built by checking the box in configure that says:
-
-    "Include all demo and test programs"
-
+  ImageMagick\Magick++\tests. There are also a variety of tests that use the
+  straight C API as well in ImageMagick\tests.
+  
+  All of these programs are not configured to be built in the default workspace
+  created by the configure program. You can cause all of these demos and test
+  programs to be built by checking the box in configure that says:
+  
+    Include all demo and test programs
+  
   In addition, there is another related checkbox (checked by default) that
   causes all generated project files to be created standalone so that they
   can be copied to other areas of you system.
-
-  This is the checkbox:
-
-    "Generate all utility projects with full paths rather then relative paths"
-
-  Visual C++ uses a concept of "dependencies" that tell it what other
-  components need to be build when a particular project is being build.
-  This mechanism is also used to ensure that components link properly.
-  With this feature enabled, you should be able to nab a copy of...
-
-    VisualMagick\utilities\UTIL_convert_xxx_exe.dsp  (for C)
-
-  or
-
+  
+    This the checkbox:
+  
+  Generate all utility projects with full paths rather then relative paths.
+  
+  Visual Studio uses a concept of dependencies that tell it what other
+  components need to be build when a particular project is being build. This
+  mechanism is also used to ensure that components link properly. In my normal
+  development environment, I want to be able to make changes and debug the
+  system as a whole, so I like and NEED to use dependencies. However, most end
+  users don't want to work this way.
+  
+  Instead they really just want to build the package and then get down to
+  business working on their application. The solution is to make all the utility
+  projects (UTIL_xxxx_yy_exe.dsp) use full absolute paths to all the things they
+  need. This way the projects stand on their own and can actually be copied
+  and used as templates to get a particular custom application compiling with
+  little effort.
+  
+  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++)
-
-  and pop it into the notepad program, modify it (carefully) to your needs
-  and be on your way to happy compiling and linking.
-
+  
+  and pop it into Notepad, modify it (carefully) to your needs and be on your
+  way to happy compiling and linking.
+  
   You can feel free to pick any of the standard utilities, tests, or demo
-  programs as the basis for a new program by copying the project and the
-  source and hacking away.
-
+  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.
-
+  
   For straight C API command line applications use something from:
-
-    ImageMagick\tests or ImageMagick\utilities (source code)
-    ImageMagick\VisualMagick\tests or ImageMagick\Visualmagick\utilities (project - DSP)
-
+  
+    ImageMagick\tests or
+    ImageMagick\utilities (source code) or
+    ImageMagick\VisualMagick\tests or
+    ImageMagick\Visualmagick\utilities (project - DSP)
+  
   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)
-
+  
+    ImageMagick\Magick++\tests or ImageMagick\Magick++\demo (source code) or
+    ImageMagick\VisualMagick\Magick++\tests or
+    ImageMagick\VisualMagick\Magick++\demo (project - DSP)
+  
   For C++ and Magick++ and MFC windows applications use:
-
-    ImageMagick\contrib\win32\MFC\NtMagick (source code)
-    ImageMagick\VisualMagick\contrib\win32\MFC\NtMagick (project - DSP)
-
-  Note #2:
-
-  The ImageMagick distribution is very modular. The default configuration
-  is there to get you rolling, but you need to make some serious choices
-  when you wish to change things around.
-
-  The default options are all targeted at having all the components in one
-  place (e.g. the "bin" directory of the VisualMagick build tree). These
-  components may be copied to another folder (such as to another computer).
-
-  The folder containing the executables and DLLs should contain all the
-  configuration files, *.xml.
-
-  The "bin" folder should contains all EXE's and DLL's as well as the very
-  important "coder.xml" file.
-
+  
+    ImageMagick\contrib\win32\MFC\NtMagick (source code) or
+   ImageMagick\VisualMagick\contrib\win32\MFC\NtMagick (project - DSP)
+  
+  The ImageMagick distribution is very modular. The default configuration is
+  there to get you rolling, but you need to make some serious choices when
+  you wish to change things around.
+  
+  The default options are all targeted at having all the components in one place
+  (e.g. the bin directory of the VisualMagick build tree). These components
+  may be copied to another folder (such as to another computer).
+  
+  The folder containing the executables and DLLs should contain the following
+  files:
+  
+     1. magic.xml
+     2. delegates.xml
+     3. modules.xml
+     4. colors.xml
+  
+  among others.
+  
+  The bin folder should contains all EXE's and DLL's as well as the very
+  important modules.xml file.
+  
   With this default setup, you can use any of the command line tools and run
-  scripts as normal.  You can actually get by quite nicely this way by doing
-  something like "pushd e:\xxx\yyy\bin" in any scripts you write to execute
-  "out of" this directory.
-
+  scripts as normal. You can actually get by quite nicely this way by doing
+  something like pushd e:\xxx\yyy\bin in any scripts you write to execute out
+  of this directory.
+  
   By default the core of ImageMagick on Win32 always looks in the place were
   the exe program is run from in order to find all of the files as well as
   the DLL's it needs.
-
-
-ENVIRONMENT VARIABLES
-
-  You can use the "System" control panel to allow you to add and delete what
+  
+  ENVIRONMENT VARIABLES
+  
+  You can use the System control panel to allow you to add and delete what
   is in any of the environment variables. You can even have user specific
   environment variables if you wish.
-
+  
   PATH
-
-    This sets the default list of places were Windows looks for EXE's
-    and DLL's.  Windows CMD shell seems to look in the "current" directory
-    first - no matter what, which may make it unnecessary to update the PATH.
-    If you wish to run any of utilities from another location, you must
-    add the path to your "bin" directory in. For instance, you might add:
-
-       D:\CVS\ImageMagick\VisualMagick\bin
-
-    to do this for the default build environment like I do.
-
-  MAGICK_HOME
-
-    If all you do is modify the PATH variable, the first problem you will run
-    into is that ImageMagick may not be able to find any of its "modules".
-    Modules are all the IM_MOD*.DLL files you see in the distribution.
-    There is one of these for each and every file format that ImageMagick
-    supports. This environment variable tells the system were to look for
-    these DLL's.  The compiled in "default" is "execution path" - which says
-    - look in the same place that the application is running "in".  If you
-    are running from somewhere other then "bin" - this will no longer work
-    and you must use this variable.  If you elect to leave the modules in
-    the same place as the EXE's (a good idea), 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 the configuration
-    files, *.xml, including module.xml, type.xml, etc.
-
-    One cool thing about the modules build of ImageMagick is that you can
-    now leave out file formats and lighten you load.  If all you ever need is
-    GIF and JPEG, simply drop all the other DLL's into the local trash
-    can and get on with your life.  However, always keep the "xc" format,
-    since ImageMagick uses it for internal purposes.
-
-  Also. You can elect to changes these things the good old "hard-coded"
-  way. Two #defines are applicable.
-
-  defines.h has
-
-      #define MagickConfigurePath  "c:\\ImageMagick\\"
-
+  
+  This environmental variable sets the default list of places were Windows
+  looks for EXE's and DLL's. Windows CMD shell seems to look in the current
+  directory first no matter what, which may make it unnecessary to update the
+  PATH. If you wish to run any of utilities from another location then you
+  must add the path to your bin directory in. For instance, to do this for
+  the default build environment like I do, you might add:
+  
+    C:\ImageMagick\VisualMagick\bin
+    MAGICK_HOME
+  
+  If all you do is modify the PATH variable, the first problem you will run into
+  is that ImageMagick may not be able to find any of its modules. Modules are
+  all the IM_MOD*.DLL files you see in the distribution. There is one of these
+  for each and every file format that ImageMagick supports. This environment
+  variable tells the system were to look for these DLL's. The compiled in
+  default is execution path - which says - look in the same place that the
+  application is running in. If you are running from somewhere other then bin
+  - this will no longer work and you must use this variable. If you elect to
+  leave the modules in the same place as the EXE's (a good idea) then you can
+  simply set this to the same place as you did the PATH variable. In my case:
+  
+    C:\ImageMagick\coders
+  
+  This also the place were ImageMagick expects to find the colors.xml,
+  delegates.xml, magic.xml, modules.xml, and type.xml files.
+  
+  One cool thing about the modules build of ImageMagick is that you can now
+  leave out file formats and lighten you load. If all you ever need is GIF and
+  JPEG, then simply drop all the other DLL's into the local trash can and get
+  on with your life.
+  
+  Always keep the XC format, since ImageMagick uses it internally.
+  
+  You can elect to changes these things the good old hard-coded way. This
+  define is applicable in magick-config.h:
+  
+    #define MagickConfigurePath "C:\\ImageMagick\\"
+  
   To view any image in a Microsoft window, type
-
-      convert image.ext win:
-
-  Make sure Ghostscript is installed, otherwise, you will be unable to
-  convert or view a Postscript document, and Postscript standard fonts will
-  not be available.
-
-  You may use any standard web browser (e.g. Internet Explorer) to browse
-  the ImageMagick documentation.
-
+  
+    $magick> convert image.ext win:
+  
+  Make sure Ghostscript is installed, otherwise, you will be unable to convert
+  or view a Postscript document, and Postscript standard fonts will not be
+  available.
+  
+  You may use any standard web browser (e.g. Internet Explorer) to browse the
+  ImageMagick documentation.
+  
   The Win2K executables will work under Windows 98.
+  
+  ImageMagick is now configured and built. You can optionally install it on
+  your system as discussed below.
+  
+  If you are looking to install the ImageMagick COM+ object, see Installing
+  the ImageMagickObject COM+ Component.
 
+Install
+  
+  You can run ImageMagick command line utilities directly from the
+  VisualMagick\bin folder, however, in most cases you may want the convenience
+  of an installer script. ImageMagick provides Inno Setup scripts for this
+  purpose. Note, you must define MAGICKCORE_INSTALLED_SUPPORT at configure
+  time to utilize the installer scripts.
+  
+  To get started building a self-installing ImageMagick executable, go to
+  VisualMagick\installer folder and click on a script that matches your build
+  environment. Press F9 to build and install ImageMagick. The default location
+  is C:Program Files\ImageMagick-6.?.?\Q?. The exact folder name depends
+  on the ImageMagick version and quantum depth. Once installed, ImageMagick
+  command line utilities and libraries are available to the MS Command Prompt,
+  web scripts, or to meet your development needs.
+  
+Create a Self-Installing Binary Distribution
+  
+  Prerequisites
+  
+     1. Download and install Inno Setup 5.
+     2. Download and install ActiveState ActivePerl.
+  
+  Run the Configure Wizard
+  
+     1. Double-click on VisualMagick/configure/configure.sln to build the
+        configure wizard.
+     2. Select Rebuild All and launch the configure wizard.
+     3. Uncheck Use X11 Stubs and check Build demo and test programs.
+     4. Click on Edit magick_config.h and define MAGICKCORE_INSTALLED_SUPPORT.
+     5. Complete the configure wizard screens to create the ImageMagick Visual
+        C++ workspace.
+  
+  Build ImageMagick
+  
+     1. Double-click on VisualMagick/VisualDynamicMT.sln to launch the
+        ImageMagick Visual workspace.
+     2. Set the active configuration to Win32 Release.
+     3. Select Rebuild All to build the ImageMagick binary distribution.
+  
+  Build ImageMagickObject
+  
+     1. Launch the MS-DOS Command Prompt application and move to the
+        contrib\win32\ATL7\ImageMagickObject folder.
+     2. Build ImageMagickObject with these commands:
+  
+          $magick> BuildImageMagickObject clean
+          $magick> BuildImageMagickObject release
+  
+  Build PerlMagick
+  
+     1. Launch the MS-DOS Command Prompt application and move to the PerlMagick
+        folder.
+     2. Build PerlMagick with these commands:
+  
+          $magick> perl Makefile.nt
+          $magick> nmake release
+  
+  Create the Self-installing ImageMagick Binary Distribution
+  
+     1. Double-click on VisualMagick/installer/im-dll-16.iss to launch the
+        Inno Setup 5 wizard.
+     2. Select File->Compile.
+  
+  Install the Binary Distribution
+  
+     1. Double-click on VisualMagick/bin/ImageMagick-6.5.9-0-Q16-windows-dll.exe
+        to launch the ImageMagick binary distribution.
+     2. Complete the installer screens to install ImageMagick on your system.
+  
+  Test the Binary Distribution
+  
+     1. Launch the MS-DOS Command Prompt application and move to the PerlMagick
+        folder and type
+  
+          $magick> nmake test
+  
+     2. Move to the VisualMagick/tests folder and type
+  
+          $magick> validate
+  
+     3. Move to the VisualMagick/Magick++/tests folder and type
+  
+          $magick> run_tests.bat
+  
+     4. Move to the VisualMagick/Magick++/demo folder and type
+  
+          $magick> run_demos.bat
+  
+  If all the tests pass without complaint, the ImageMagick self-install binary
+  distribution is ready for use.
+  
+Dealing with Unexpected Problems
+  
+  Chances are the download, configure, build, and install of ImageMagick went
+  flawlessly as it is intended, however, certain systems and environments may
+  cause one or more steps to fail. We discuss a few problems we've run across
+  and how to take corrective action to ensure you have a working release
+  of ImageMagick.
+  
+  If the compiler generates an error or if it quits unexpectedly, go to the
+  Visual Studio web site and look for Visual Studio service packs. Chances
+  are, after you download and install all the Visual Studio service packs,
+  ImageMagick will compile and build as expected.
+  
+Building Your Custom Project
+  
+  The Windows binary distribution includes a number of demo projects that
+  you can use as a template for your own custom project. For example,
+  start with the Button project, generally located in the c:/Program
+  Files/ImageMagick-6.5.5-0/Magick++_demos folder. If not, be sure to select
+  Configuration Properties->C/C++->Preprocessor and set these definitions:
+  
+    NDEBUG
+    WIN32
+    _CONSOLE
+    _VISUALC_
+    NeedFunctionPrototypes
+    _DLL
+    _MAGICKMOD_
+  
+  
diff --git a/Magickshr.opt b/Magickshr.opt
index 1ffe539..ee260a9 100644
--- a/Magickshr.opt
+++ b/Magickshr.opt
@@ -1,5 +1,5 @@
-IDENTIFICATION="Magick V6.4"
-GSMATCH=LEQUAL,6,4
+IDENTIFICATION="Magick V6.5"
+GSMATCH=LEQUAL,6,5
 case_sensitive=YES
 symbol_vector=(AcquireImageInfo=PROCEDURE)
 symbol_vector=(AcquireMemory=PROCEDURE)
@@ -61,7 +61,6 @@
 symbol_vector=(HuffmanEncodeImage=PROCEDURE)
 symbol_vector=(ImageToBlob=PROCEDURE)
 symbol_vector=(ImplodeImage=PROCEDURE)
-symbol_vector=(IsAccessible=PROCEDURE)
 symbol_vector=(IsGeometry=PROCEDURE)
 symbol_vector=(IsGrayImage=PROCEDURE)
 symbol_vector=(LiberateMemory=PROCEDURE)
@@ -246,4 +245,7 @@
 symbol_vector=(GetElapsedTime=PROCEDURE)
 symbol_vector=(GetTimerInfo=PROCEDURE)
 symbol_vector=(GetUserTime=PROCEDURE)
+symbol_vector=(AcquireTimerInfo=PROCEDURE)
+symbol_vector=(DestroyTimerInfo=PROCEDURE)
+symbol_vector=(MagickCommandGenesis=PROCEDURE)
 sys$share:decw$xlibshr.exe/share
diff --git a/Make.com b/Make.com
index 098306e..759dcfb 100644
--- a/Make.com
+++ b/Make.com
@@ -72,6 +72,7 @@
 $    write sys$output "Making shareable image"
 $    link/share/exe=magickshr.exe   [.magick]libMagick.olb/lib, -
   [.coders]libCoders.olb/lib,[.magick]libMagick.olb/lib, -
+  []magickshr.opt/opt, -
   sys$library:freetype.olb/lib, -
   sys$library:libjasper.olb/lib, -
   sys$library:libjpeg.olb/lib, -
@@ -79,9 +80,7 @@
   sys$library:tiff.olb/lib, -
   sys$library:libz.olb/lib, -
   sys$library:libbz2.olb/lib, -
-  sys$library:df.olb/lib, -
-  sys$library:libjbig.olb/lib, -
-  []magickshr.opt/opt
+  sys$library:libjbig.olb/lib
 $ libr/crea/share/log magickshr.olb magickshr.exe
 $    set file/trunc magickshr.olb
 $    purge magickshr.olb
@@ -98,7 +97,6 @@
   sys$library:tiff.olb/lib, -
   sys$library:freetype.olb/l, -
   sys$library:libz.olb/lib,-
-  sys$library:df.olb/lib, -
   sys$library:libjbig.olb/lib, -
   sys$library:libbz2.olb/lib
 $ endif
diff --git a/coders/jp2.c b/coders/jp2.c
index ed0c365..1c33c3a 100644
--- a/coders/jp2.c
+++ b/coders/jp2.c
@@ -86,11 +86,6 @@
 #define ulonglong  unsigned long long
 #endif
 
-#ifdef __VMS
-#define JAS_VERSION 1.700.0
-#define PACKAGE jasper
-#define VERSION 1.700.0
-#endif
 #undef PACKAGE_NAME
 #undef PACKAGE_STRING
 #undef PACKAGE_TARNAME
diff --git a/config/configure.xml b/config/configure.xml
index 6bb15fb..abbbd6d 100644
--- a/config/configure.xml
+++ b/config/configure.xml
@@ -8,7 +8,7 @@
 <configuremap>
   <configure name="NAME" value="ImageMagick"/>
   <configure name="LIB_VERSION" value="0x659"/>
-  <configure name="LIB_VERSION_NUMBER" value="6,5,9,1"/>
+  <configure name="LIB_VERSION_NUMBER" value="6,5,9,0"/>
   <configure name="RELEASE_DATE" value="2010-01-13"/>
   <configure name="CONFIGURE" value="./configure "/>
   <configure name="PREFIX" value="/usr/local"/>
diff --git a/libtool b/libtool
index a0c5ef2..4477a59 100755
--- a/libtool
+++ b/libtool
@@ -1,7 +1,7 @@
 #! /bin/sh
 
 # libtool - Provide generalized library-building support services.
-# Generated automatically by config.status (ImageMagick) 6.5.9-1
+# Generated automatically by config.status (ImageMagick) 6.5.9-0
 # Libtool was configured on host magick.imagemagick.org:
 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
 #
diff --git a/magick/Make.com b/magick/Make.com
index c694e3e..5865d6b 100644
--- a/magick/Make.com
+++ b/magick/Make.com
@@ -49,6 +49,7 @@
 $call Make effect.c
 $call Make enhance.c
 $call Make exception.c
+$call Make fourier.c
 $call Make fx.c
 $call Make gem.c
 $call Make geometry.c
@@ -72,6 +73,7 @@
 $call Make option.c
 $call Make paint.c
 $call Make pixel.c
+$call Make policy.c
 $call Make prepress.c
 $call Make property.c
 $call Make PreRvIcccm.c
@@ -135,14 +137,14 @@
   animate, annotate, artifact, attribute, blob, cache, cache-view, cipher, -
   client, coder, color, colormap, colorspace, compare, composite, compress, -
   configure, constitute, decorate, delegate, deprecate, display, distort, -
-  draw, effect, enhance, exception, fx, gem, geometry, hashmap, histogram, -
+  draw, effect, enhance, exception, fourier, fx, gem, geometry, hashmap, histogram, -
   identify, image, layer, list, locale, log, magic, magick, matrix, memory, -
-  mime, module, monitor, montage, morphology, option, paint, pixel, -
-  PreRvIcccm, profile, quantize, quantum, quantum-export, quantum-import, -
-  random, registry, resample, resize, resource, segment, semaphore, -
+  mime, module, monitor, montage, option, paint, pixel, PreRvIcccm, profile, -
+  quantize, quantum,quantum-export,quantum-import,random, registry, resample, -
+  resize, resource, segment, semaphore, morphology, -
   shear, signature, splay-tree, static, stream, string, thread, timer, token, -
   transform, threshold, type, utility, version, vms, widget, xwindow, -
-	statistic, prepress, property, xml-tree, -
+	statistic, policy, prepress, property, xml-tree, -
 	[-.filters]analyze,[-.wand]drawing-wand, pixel-wand, pixel-view, conjure, -
   convert,import, mogrify, animate-wand, compare-wand, composite-wand, -
   display-wand,identify-wand,montage-wand
diff --git a/magick/config.h_vms b/magick/config.h_vms
index ebeb2c0..012e55f 100644
--- a/magick/config.h_vms
+++ b/magick/config.h_vms
@@ -282,3 +282,5 @@
 #define MAGICKCORE_HAVE_MKSTEMP 1
 
 #define round nint
+
+#define MAGICKCORE_CIPHER_SUPPORT 1
diff --git a/magick/version.h b/magick/version.h
index abbcc9e..f515782 100644
--- a/magick/version.h
+++ b/magick/version.h
@@ -30,7 +30,7 @@
 #define MagickLibVersion  0x659
 #define MagickLibVersionText  "6.5.9"
 #define MagickLibVersionNumber  3,0,0
-#define MagickLibSubversion  "-1"
+#define MagickLibSubversion  "-0"
 #define MagickLibInterface  3
 #define MagickReleaseDate  "2010-01-13"
 #define MagickChangeDate   "20100101"
diff --git a/version.sh b/version.sh
index 9d4afeb..e9f01c0 100644
--- a/version.sh
+++ b/version.sh
@@ -12,7 +12,7 @@
 # PACKAGE_NAME (e.g. "1.0.0").
 PACKAGE_VERSION='6.5.9'
 PACKAGE_LIB_VERSION="0x659"
-PACKAGE_RELEASE="1"
+PACKAGE_RELEASE="0"
 PACKAGE_LIB_VERSION_NUMBER="6,5,9,${PACKAGE_RELEASE}"
 PACKAGE_RELEASE_DATE=`date +%F`
 PACKAGE_STRING="$PACKAGE_NAME $PACKAGE_VERSION"