1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY imagemagick-patch-version "7">
|
---|
8 | <!ENTITY imagemagick-download-http "http://www.imagemagick.org/download/ImageMagick-&imagemagick-version;-&imagemagick-patch-version;.tar.bz2">
|
---|
9 | <!ENTITY imagemagick-download-ftp "ftp://ftp.imagemagick.net/pub/ImageMagick/ImageMagick-&imagemagick-version;-&imagemagick-patch-version;.tar.bz2">
|
---|
10 | <!ENTITY imagemagick-md5sum "182c5285e6e241439a7fbdfd2a4471b1">
|
---|
11 | <!ENTITY imagemagick-size "4.5 MB">
|
---|
12 | <!ENTITY imagemagick-buildsize "109 MB">
|
---|
13 | <!ENTITY imagemagick-time "2.76 SBU">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="imagemagick"
|
---|
17 | xreflabel="ImageMagick-&imagemagick-version;-&imagemagick-patch-version;">
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <?dbhtml filename="imagemagick.html"?>
|
---|
24 | <title><application>ImageMagick</application>-&imagemagick-version;-&imagemagick-patch-version;</title>
|
---|
25 | <indexterm zone="imagemagick">
|
---|
26 | <primary sortas="a-ImageMagick">ImageMagick</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2>
|
---|
30 | <title>Introduction to <application>ImageMagick</application></title>
|
---|
31 |
|
---|
32 | <para><application>ImageMagick</application> is a collection of tools and
|
---|
33 | libraries to read, write, and manipulate an image in various image formats.
|
---|
34 | Image processing operations are available from the command line. Bindings
|
---|
35 | to various programming languages are also available.</para>
|
---|
36 |
|
---|
37 | <sect3><title>Package information</title>
|
---|
38 | <itemizedlist spacing='compact'>
|
---|
39 | <listitem><para>Download (HTTP): <ulink
|
---|
40 | url="&imagemagick-download-http;"/></para></listitem>
|
---|
41 | <listitem><para>Download (FTP): <ulink
|
---|
42 | url="&imagemagick-download-ftp;"/></para></listitem>
|
---|
43 | <listitem><para>Download MD5 sum: &imagemagick-md5sum;</para></listitem>
|
---|
44 | <listitem><para>Download size: &imagemagick-size;</para></listitem>
|
---|
45 | <listitem><para>Estimated disk space required:
|
---|
46 | &imagemagick-buildsize;</para></listitem>
|
---|
47 | <listitem><para>Estimated build time:
|
---|
48 | &imagemagick-time;</para></listitem></itemizedlist>
|
---|
49 | </sect3>
|
---|
50 |
|
---|
51 | <sect3><title><application>ImageMagick</application> dependencies</title>
|
---|
52 |
|
---|
53 | <sect4><title>Recommended</title>
|
---|
54 | <para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>), and
|
---|
55 | <xref linkend="espgs"/> or <xref linkend="gs"/></para>
|
---|
56 | </sect4>
|
---|
57 |
|
---|
58 | <sect4><title>Optional (install based on the required format support and
|
---|
59 | tools)</title>
|
---|
60 | <para><xref linkend="lcms"/>,
|
---|
61 | <xref linkend="libpng"/>,
|
---|
62 | <xref linkend="libjpeg"/>,
|
---|
63 | <xref linkend="freetype2"/>,
|
---|
64 | <xref linkend="libtiff"/>,
|
---|
65 | <xref linkend="libxml2"/>,
|
---|
66 | <xref linkend="mozilla"/>,
|
---|
67 | <xref linkend="tex"/>,
|
---|
68 | <xref linkend="gimp"/>,
|
---|
69 | <xref linkend="sane"/>,
|
---|
70 | <xref linkend="wget"/>,
|
---|
71 | <xref linkend="enscript"/>,
|
---|
72 | <ulink url="http://www.graphviz.org/">GraphViz</ulink>,
|
---|
73 | <ulink url="http://www.i3a.org/i_flashpix.html">FlashPIX</ulink> (or
|
---|
74 | <ulink url="ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/libfpx-1.2.0.9.tar.gz">
|
---|
75 | FlashPIX library</ulink>),
|
---|
76 | <ulink url="http://www.ece.uvic.ca/~mdadams/jasper/">Jasper</ulink>,
|
---|
77 | <ulink url="http://www.cl.cam.ac.uk/~mgk25/jbigkit/">JBIG-KIT</ulink>,
|
---|
78 | <ulink url="http://wvware.sourceforge.net/">libwmf</ulink>,
|
---|
79 | <ulink url="http://autotrace.sourceforge.net/">AutoTrace</ulink>,
|
---|
80 | <ulink url="http://www.agocg.ac.uk/train/cgm/ralcgm.htm">RALCGM</ulink>,
|
---|
81 | <ulink url="http://www.cybercom.net/~dcoffin/dcraw/">DCRaw</ulink>,
|
---|
82 | <ulink url="http://www.xfig.org/">Transfig</ulink>,
|
---|
83 | <ulink url="http://www.gnuplot.info/">Gnuplot</ulink>,
|
---|
84 | <ulink url="http://www.gnu.org/software/hp2xx/">hp2xx</ulink>,
|
---|
85 | <ulink url="http://user.it.uu.se/~jan/html2ps.html">html2ps</ulink>,
|
---|
86 | <ulink url="http://netpbm.sourceforge.net/">Netpbm</ulink>,
|
---|
87 | <ulink url="http://www.mpeg.org/MSSG/">MPEG-2 Video Codec</ulink>,
|
---|
88 | <ulink url="http://www.povray.org/">POV-Ray</ulink>,
|
---|
89 | <ulink url="http://www.cs.utah.edu/gdc/projects/urt/">Utah Raster Toolkit</ulink>
|
---|
90 | (or <ulink
|
---|
91 | url="http://www.funet.fi/pub/graphics/packages/Utah-Raster-Toolkit/rel3/urt-3.1b.mlg.tar.gz">
|
---|
92 | source</ulink>),
|
---|
93 | <ulink url="http://txt2html.sourceforge.net/">txt2html</ulink>,
|
---|
94 | <ulink url="http://sourceforge.net/projects/libexif/">libexif</ulink>,
|
---|
95 | <ulink url="http://radsite.lbl.gov/radiance/HOME.html">Radiance</ulink>,
|
---|
96 | <ulink url="http://corefonts.sourceforge.net/">corefonts</ulink>,
|
---|
97 | <ulink url="http://perens.com/FreeSoftware/">Electric Fence</ulink> and
|
---|
98 | <ulink url="http://dmalloc.com/">Dmalloc</ulink></para>
|
---|
99 | </sect4>
|
---|
100 |
|
---|
101 | </sect3>
|
---|
102 |
|
---|
103 | </sect2>
|
---|
104 |
|
---|
105 | <sect2>
|
---|
106 | <title>Installation of <application>ImageMagick</application></title>
|
---|
107 |
|
---|
108 | <para>Install <application>Imagemagick</application> by running the following
|
---|
109 | commands:</para>
|
---|
110 |
|
---|
111 | <screen><userinput><command>sed -i -e 's/\$(LIBLTDL) \$/\$/' Makefile.in &&
|
---|
112 | ./configure --prefix=/usr --with-modules &&
|
---|
113 | make</command></userinput></screen>
|
---|
114 |
|
---|
115 | <para>Now, as the root user:</para>
|
---|
116 |
|
---|
117 | <screen><userinput role="root"><command>make install</command></userinput></screen>
|
---|
118 |
|
---|
119 | <sect3>
|
---|
120 | <title>Additional Configure Options</title>
|
---|
121 |
|
---|
122 | <para>There are additional switches that can be passed to
|
---|
123 | <application>ImageMagick</application> to customize the installation to your
|
---|
124 | needs. Check out the <application>ImageMagick</application> installation
|
---|
125 | instructions at <ulink url="http://www.imagemagick.org/www/Install-unix.html"/>.
|
---|
126 | </para>
|
---|
127 | </sect3>
|
---|
128 |
|
---|
129 | </sect2>
|
---|
130 |
|
---|
131 | <sect2>
|
---|
132 | <title>Command Explanations</title>
|
---|
133 |
|
---|
134 | <para><command>sed -i -e 's/\$(LIBLTDL) \$/\$/' Makefile.in</command>: The
|
---|
135 | package will build and install a different version of the
|
---|
136 | <application>Libtool</application> library in
|
---|
137 | <filename class='directory'>/usr/lib</filename>. This command forces the
|
---|
138 | package to link to the installed version of
|
---|
139 | <filename class='libraryfile'>libltdl</filename>, and not replace it.</para>
|
---|
140 |
|
---|
141 | <para><parameter>--with-modules</parameter>: Enables support for dynamically
|
---|
142 | loadable modules.</para>
|
---|
143 |
|
---|
144 | </sect2>
|
---|
145 |
|
---|
146 | <sect2>
|
---|
147 | <title>Contents</title>
|
---|
148 |
|
---|
149 | <segmentedlist>
|
---|
150 | <segtitle>Installed Programs</segtitle>
|
---|
151 | <segtitle>Installed Libraries</segtitle>
|
---|
152 | <segtitle>Installed Directories</segtitle>
|
---|
153 |
|
---|
154 | <seglistitem>
|
---|
155 | <seg>animate, compare, composite, conjure, convert, display,
|
---|
156 | identify, import, Magick-config, Magick++-config, mogrify,
|
---|
157 | montage and Wand-config</seg>
|
---|
158 | <seg>libMagick.[so,a], libMagick++.[so,a], libWand.[so,a],
|
---|
159 | the PerlMagick.so Perl module and numerous plugin modules</seg>
|
---|
160 | <seg>/usr/include/magick, /usr/include/wand,
|
---|
161 | /usr/lib/ImageMagick-&imagemagick-version;,
|
---|
162 | /usr/lib/perl5/site_perl/5.8.5/i686-linux/auto/Image/Magick,
|
---|
163 | /usr/share/ImageMagick-&imagemagick-version;</seg>
|
---|
164 | </seglistitem>
|
---|
165 | </segmentedlist>
|
---|
166 |
|
---|
167 | <variablelist>
|
---|
168 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
169 | <?dbfo list-presentation="list"?>
|
---|
170 |
|
---|
171 | <varlistentry id="animate">
|
---|
172 | <term><command>animate</command></term>
|
---|
173 | <listitem>
|
---|
174 | <para>animates a sequence of images.</para>
|
---|
175 | <indexterm zone="imagemagick animate">
|
---|
176 | <primary sortas="b-animate">animate</primary>
|
---|
177 | </indexterm>
|
---|
178 | </listitem>
|
---|
179 | </varlistentry>
|
---|
180 |
|
---|
181 | <varlistentry id="compare">
|
---|
182 | <term><command>compare</command></term>
|
---|
183 | <listitem>
|
---|
184 | <para>compares an image to a reconstructed image.</para>
|
---|
185 | <indexterm zone="imagemagick compare">
|
---|
186 | <primary sortas="b-compare">compare</primary>
|
---|
187 | </indexterm>
|
---|
188 | </listitem>
|
---|
189 | </varlistentry>
|
---|
190 |
|
---|
191 | <varlistentry id="composite">
|
---|
192 | <term><command>composite</command></term>
|
---|
193 | <listitem>
|
---|
194 | <para>composites various images into the given base image.</para>
|
---|
195 | <indexterm zone="imagemagick composite">
|
---|
196 | <primary sortas="b-composite">composite</primary>
|
---|
197 | </indexterm>
|
---|
198 | </listitem>
|
---|
199 | </varlistentry>
|
---|
200 |
|
---|
201 | <varlistentry id="conjure">
|
---|
202 | <term><command>conjure</command></term>
|
---|
203 | <listitem>
|
---|
204 | <para>processes a <acronym>MSL</acronym> script to create an image.</para>
|
---|
205 | <indexterm zone="imagemagick conjure">
|
---|
206 | <primary sortas="b-conjure">conjure</primary>
|
---|
207 | </indexterm>
|
---|
208 | </listitem>
|
---|
209 | </varlistentry>
|
---|
210 |
|
---|
211 | <varlistentry id="convert">
|
---|
212 | <term><command>convert</command></term>
|
---|
213 | <listitem>
|
---|
214 | <para>converts image(s) from one format to another.</para>
|
---|
215 | <indexterm zone="imagemagick convert">
|
---|
216 | <primary sortas="b-convert">convert</primary>
|
---|
217 | </indexterm>
|
---|
218 | </listitem>
|
---|
219 | </varlistentry>
|
---|
220 |
|
---|
221 | <varlistentry id="display">
|
---|
222 | <term><command>display</command></term>
|
---|
223 | <listitem>
|
---|
224 | <para>displays an image.</para>
|
---|
225 | <indexterm zone="imagemagick display">
|
---|
226 | <primary sortas="b-display">display</primary>
|
---|
227 | </indexterm>
|
---|
228 | </listitem>
|
---|
229 | </varlistentry>
|
---|
230 |
|
---|
231 | <varlistentry id="identify">
|
---|
232 | <term><command>identify</command></term>
|
---|
233 | <listitem>
|
---|
234 | <para>describes the format and characteristics of an image file.</para>
|
---|
235 | <indexterm zone="imagemagick identify">
|
---|
236 | <primary sortas="b-identify">identify</primary>
|
---|
237 | </indexterm>
|
---|
238 | </listitem>
|
---|
239 | </varlistentry>
|
---|
240 |
|
---|
241 | <varlistentry id="import">
|
---|
242 | <term><command>import</command></term>
|
---|
243 | <listitem>
|
---|
244 | <para>captures an X window.</para>
|
---|
245 | <indexterm zone="imagemagick import">
|
---|
246 | <primary sortas="b-import">import</primary>
|
---|
247 | </indexterm>
|
---|
248 | </listitem>
|
---|
249 | </varlistentry>
|
---|
250 |
|
---|
251 | <varlistentry id="magick-config">
|
---|
252 | <term><command>Magick-config</command> and
|
---|
253 | <command>Magick++-config</command></term>
|
---|
254 | <listitem>
|
---|
255 | <para>show information about the installed versions of
|
---|
256 | <application>ImageMagick</application> and Magick++.</para>
|
---|
257 | <indexterm zone="imagemagick magick-config">
|
---|
258 | <primary sortas="b-Magick-config">Magick-config</primary>
|
---|
259 | </indexterm>
|
---|
260 | </listitem>
|
---|
261 | </varlistentry>
|
---|
262 |
|
---|
263 | <varlistentry id="mogrify">
|
---|
264 | <term><command>mogrify</command></term>
|
---|
265 | <listitem>
|
---|
266 | <para>transforms an image.</para>
|
---|
267 | <indexterm zone="imagemagick mogrify">
|
---|
268 | <primary sortas="b-mogrify">mogrify</primary>
|
---|
269 | </indexterm>
|
---|
270 | </listitem>
|
---|
271 | </varlistentry>
|
---|
272 |
|
---|
273 | <varlistentry id="montage">
|
---|
274 | <term><command>montage</command></term>
|
---|
275 | <listitem>
|
---|
276 | <para>composites various images into a new image.</para>
|
---|
277 | <indexterm zone="imagemagick montage">
|
---|
278 | <primary sortas="b-montage">montage</primary>
|
---|
279 | </indexterm>
|
---|
280 | </listitem>
|
---|
281 | </varlistentry>
|
---|
282 |
|
---|
283 | <varlistentry id="wand-config">
|
---|
284 | <term><command>Wand-config</command></term>
|
---|
285 | <listitem>
|
---|
286 | <para>shows the options required to use the Wand library.</para>
|
---|
287 | <indexterm zone="imagemagick wand-config">
|
---|
288 | <primary sortas="b-Wand-config">Wand-config</primary>
|
---|
289 | </indexterm>
|
---|
290 | </listitem>
|
---|
291 | </varlistentry>
|
---|
292 |
|
---|
293 | <varlistentry id="perlmagick">
|
---|
294 | <term><filename class='libraryfile'>Image::Magick</filename></term>
|
---|
295 | <listitem>
|
---|
296 | <para>allows the reading, manipulation and writing of a large number of
|
---|
297 | image file formats using the <application>ImageMagick</application>
|
---|
298 | library. Run <command>make</command> in the
|
---|
299 | <filename class='directory'>PerlMagick/demo</filename> directory of
|
---|
300 | the package source tree to see a nice demo of the module's
|
---|
301 | capabilities.
|
---|
302 | </para>
|
---|
303 | <indexterm zone="imagemagick perlmagick">
|
---|
304 | <primary sortas="g-Image-Magick">Image::Magick</primary>
|
---|
305 | </indexterm>
|
---|
306 | </listitem>
|
---|
307 | </varlistentry>
|
---|
308 |
|
---|
309 | </variablelist>
|
---|
310 |
|
---|
311 | </sect2>
|
---|
312 |
|
---|
313 | </sect1>
|
---|