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