home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2002 September / PCPlus_193_Laplink2000.iso / Linux / ImageMagick / QuickStart.txt < prev    next >
Encoding:
Text File  |  2002-06-07  |  3.6 KB  |  128 lines

  1. Configuration Files:
  2.  
  3.   ImageMagick depends on a number of external configuration files which
  4.   include colors.mgk, delegates.mgk, magic.mgk, type.mgk, and modules.mgk.
  5.   ImageMagick searches in the following order, and will use the first
  6.   configuration file found:
  7.  
  8.       <current directory>/
  9.       <client path>/
  10.       $MAGICK_HOME/
  11.       $HOME/.magick/
  12.       MagickLibPath
  13.       MagickModulesPath
  14.       MagickSharePath
  15.  
  16.   Where MagickSharePath, MagickLibPath, and MagickModulesPath are
  17.   defined by the configure program for Unix-style builds, and default to
  18.   /usr/local/share/ImageMagick/, /usr/local/lib/ImageMagick/ and
  19.   /usr/local/lib/ImageMagick/modules/coders/ respectively.
  20.  
  21.   MagickLibPath and MagickModulesPath, and are defined under Win32, VMS,
  22.   and Macintosh as c:\ImageMagick\, sys$login, and the current directory
  23.   respectively.
  24.  
  25.  
  26. Environment Variables:
  27.  
  28.   In addition to the MAGICK_HOME environment variable defined above, you may
  29.   find these variables useful:
  30.  
  31.       MAGICK_CACHE_THRESHOLD  megabytes of memory available to pixel cache
  32.       TMPDIR                  path to store temporary files
  33.       LD_LIBRARY_PATH         path to libMagick.so and other libraries
  34.  
  35. Unix/Linux/Darwin/Cygwin/MinGW Install:
  36.  
  37.   Download
  38.  
  39.       ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-5.4.6.tar.gz
  40.  
  41.   and type
  42.  
  43.       gunzip -c ImageMagick-5.4.6.tar.gz | tar xvf -
  44.       cd ImageMagick-5.4.6
  45.       ./configure -prefix=/usr/local
  46.       make
  47.       make install
  48.       identify -verbose logo:
  49.  
  50.   Alternatively, download the appropriate binary from
  51.   ftp://ftp.imagemagick.org/pub/ImageMagick/binaries.  The Unix
  52.   binaries must be installed in the /usr/local.  If you require a
  53.   different install directory, follow these steps (here we assume an
  54.   install directory of /opt/ImageMagick):
  55.  
  56.       mkdir /opt/ImageMagick
  57.       gunzip -c ImageMagick-*.tar.gz | tar xvf -
  58.       /bin/mv share/ImageMagick/* /opt/ImageMagick
  59.       /bin/mv lib/ImageMagick/modules/coders/* /opt/ImageMagick
  60.       /bin/mv lib/ImageMagick/* /opt/ImageMagick
  61.       /bin/mv lib/libMagick* /opt/ImageMagick
  62.       /bin/mv bin/* /opt/ImageMagick
  63.       setenv LD_LIBRARY_PATH /opt/ImageMagick 
  64.       setenv MAGICK_HOME /opt/ImageMagick 
  65.       /opt/ImageMagick/convert
  66.  
  67.  
  68. Win2K, WinME, NT, Win98, Win95 Install:
  69.  
  70.   Download
  71.  
  72.       ftp://ftp.imagemagick.org/pub/ImageMagick/binaries/ImageMagick-win2k.zip
  73.  
  74.   and double click on it to extract the distribution.
  75.  
  76.   Select Start->Programs->Command Prompt.  In the Command Prompt window type
  77.  
  78.       cd ImageMagick
  79.       identify -verbose logo:
  80.  
  81.   If you have an X11 server, from the Command Prompt window type
  82.  
  83.         set DISPLAY=:0
  84.       display
  85.  
  86.   Alternatively, download the ImageMagick Win2K source
  87.  
  88.       ftp://ftp.imagemagick.org/pub/ImageMagick/win2k/ImageMagick-5.4.6.zip
  89.  
  90.   and read README.txt for detailed instructions on compiling the ImageMagick
  91.   source.
  92.  
  93.  
  94. MAC Install:
  95.  
  96.   Download
  97.  
  98.       ftp://ftp.imagemagick.org/pub/ImageMagick/binaries/ImageMagick-mac.sit
  99.  
  100.        or
  101.  
  102.       ftp://ftp.imagemagick.org/pub/ImageMagick/binaries/ImageMagick-powerpc-apple-darwin5.4.tar.gz
  103.  
  104.   and double click on it to extract the distribution.   Move to the
  105.   ImageMagick folder and double click on the convert program icon.
  106.   Next, type
  107.  
  108.       -verbose logo: logo.jpg
  109.  
  110.   in the command window and choose File->Quit to exit.
  111.  
  112.   Alternatively, download the ImageMagick Classic Macintosh source
  113.  
  114.       ftp://ftp.imagemagick.org/pub/ImageMagick/mac/ImageMagick-5.4.6.sit
  115.  
  116.   and double click on the Make AppleScript script to build from the source.
  117.  
  118.  
  119. VMS Install:
  120.  
  121.   Type
  122.  
  123.       unzip ImageMagick-5.4.6.zip
  124.       set default [.imagemagick]
  125.       @make
  126.       identify -verbose logo:
  127.  
  128.