root / ImageMagick / trunk / QuickStart.txt

Revision 11455, 4.3 kB (checked in by cristy, 4 weeks ago)
Line 
1This file documents how to use the binary distribution packages built by
2ImageMagick Studio LLC, and found in the ImageMagick 'binaries' subdirectory
3of ImageMagick ftp sites.  Those who want to build ImageMagick from source
4code should refer to the file README.txt in the ImageMagick source package
5or http://www.imagemagick.org/script/install-source.php on the web.
6
7Unix/Linux/Darwin/Mac OS X/Cygwin/MinGW Install:
8
9  Download the appropriate binary from
10
11     ftp://ftp.imagemagick.org/pub/ImageMagick/binaries
12
13  Create (or choose) a directory to install the package into and change to that
14  directory, for example:
15
16     cd $HOME
17
18  Extract the contents of the package using the command
19
20     gzip -dc /path/to/package.tar.gz | tar -xf -
21
22  If the 'bin' subdirectory of the extracted package is not already in your
23  executable search path, add it to your PATH environment variable.  For
24  example
25
26     export PATH; PATH="$HOME/ImageMagick/bin:$PATH"
27
28  Set the MAGICK_HOME environment variable to the path where you extracted the
29  ImageMagick files. For example
30
31     export MAGICK_HOME="$HOME/ImageMagick-6.4.2"
32
33  On Linux and Solaris machines set the LD_LIBRARY_PATH environment variable:
34
35     export LD_LIBRARY_PATH="$HOME/ImageMagick-6.4.2/lib"
36
37  On Mac OS X (Darwin) machines set the DYLD_LIBRARY_PATH environment variable:
38
39     export DYLD_LIBRARY_PATH="$HOME/ImageMagick-6.4.2/lib"
40
41  Now, test ImageMagick to see if it is working
42
43     convert logo: logo.gif
44     display logo.gif
45
46
47  Additional Information
48
49    Environment Variables:
50
51      In addition to the MAGICK_HOME environment variable defined above, you may
52      find these variables useful:
53
54        MAGICK_TMPDIR           path to store temporary files
55        LD_LIBRARY_PATH         path to libMagick.so and other libraries
56
57    Configuration Files
58
59      ImageMagick depends on a number of external configuration files which
60      include colors.xml, delegates.xml, magic.xml, coder.xml, and others.
61      ImageMagick searches for configuration files in the following order, and
62      loads them if found:
63
64          $MAGICK_CONFIGURE_PATH
65          $MAGICK_HOME/lib/ImageMagick-6.4.2/config
66          $MAGICK_HOME/share/ImageMagick-6.4.2/config
67          $HOME/.magick/
68          <client path>/lib/ImageMagick-6.4.2/
69          <current directory>/
70
71    Font Files
72
73      ImageMagick is able to load raw TrueType and Postscript font files.  It
74      searches for the font configuration file, type.xml, in the following
75      order, and loads them if found:
76
77          $MAGICK_CONFIGURE_PATH
78          $MAGICK_HOME/lib/ImageMagick-6.4.2/config
79          $MAGICK_HOME/share/ImageMagick-6.4.2/config
80          $HOME/.magick/
81          <client path>/lib/ImageMagick-6.4.2/
82          <current directory>/
83          $MAGICK_FONT_PATH
84
85    Module Files
86
87      ImageMagick's file format support is usually provided in the form of
88      loadable modules. It searches for loadable modules in the following order
89      and it uses the first match found:
90
91          <current directory>/
92          $MAGICK_HOME/lib/ImageMagick-6.4.2/modules-Q16/coders/
93          $HOME/.magick/
94          <client path>/../lib/ImageMagick-6.4.2/modules-Q16/coders/
95          $MAGICK_HOME/lib/ImageMagick-6.4.2/modules-Q16/coders
96          $MAGICK_HOME/share/ImageMagick-6.4.2/modules-Q16/coders
97          $HOME/.magick/
98          <client path>/lib/ImageMagick-6.4.2/modules-Q16/coders
99          <current directory>/
100
101Windows Vista, XP, and NT Install:
102
103  Download one of
104
105      ftp://ftp.imagemagick.org/pub/ImageMagick/binaries/ImageMagick-6.4.2-0-Q16-windows-dll.exe
106      ftp://ftp.imagemagick.org/pub/ImageMagick/binaries/ImageMagick-6.4.2-0-Q16-windows-static.exe
107      ftp://ftp.imagemagick.org/pub/ImageMagick/binaries/ImageMagick-6.4.2-0-Q8-windows-dll.exe
108      ftp://ftp.imagemagick.org/pub/ImageMagick/binaries/ImageMagick-6.4.2-0-Q8-windows-static.exe
109
110  and execute it (or "open" it from your browser) to start the installation
111  program.
112
113  Once ImageMagick is installed, Select Start->Programs->Command Prompt.  In
114  the Command Prompt window type
115
116      convert logo: logo.gif
117      imdisplay logo.gif
118
119  If you have an X11 server, from the Command Prompt window type
120
121      set DISPLAY=:0
122      display
123
124VMS Install:
125
126  Type
127
128      unzip ImageMagick.zip
129      set default [.imagemagick]
130      @make
131      identify -verbose logo:
Note: See TracBrowser for help on using the browser.