source: general/genutils/imagemagick.xml@ eaf9ab0

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since eaf9ab0 was 86796ea8, checked in by Randy McMurchy <randy@…>, 18 years ago

Added librsvg as an optional dependency of ImageMagick

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6084 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 15.1 KB
Line 
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 "5">
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 "015400407873400f341ce9d761ab5be8">
11 <!ENTITY imagemagick-size "5.0 MB">
12 <!ENTITY imagemagick-buildsize "123 MB (additional 68 MB if you run the Image::Magick demo)">
13 <!ENTITY imagemagick-time "3.0 SBU (Additional 1.2 SBU to run the test suite)">
14]>
15
16<sect1 id="imagemagick"
17xreflabel="ImageMagick-&imagemagick-version;-&imagemagick-patch-version;">
18 <?dbhtml filename="imagemagick.html"?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 <keywordset>
24 <keyword role="package">ImageMagick-&imagemagick-version;-&imagemagick-patch-version;.tar</keyword>
25 <keyword role="ftpdir">ImageMagick</keyword>
26 </keywordset>
27 </sect1info>
28
29 <title>ImageMagick-&imagemagick-version;-&imagemagick-patch-version;</title>
30
31 <indexterm zone="imagemagick">
32 <primary sortas="a-ImageMagick">ImageMagick</primary>
33 </indexterm>
34
35 <sect2 role="package">
36 <title>Introduction to ImageMagick</title>
37
38 <para><application>ImageMagick</application> is a collection of tools and
39 libraries to read, write, and manipulate an image in various image formats.
40 Image processing operations are available from the command line. Bindings
41 to various programming languages are also available.</para>
42
43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
46 <para>Download (HTTP): <ulink url="&imagemagick-download-http;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download (FTP): <ulink url="&imagemagick-download-ftp;"/></para>
50 </listitem>
51 <listitem>
52 <para>Download MD5 sum: &imagemagick-md5sum;</para>
53 </listitem>
54 <listitem>
55 <para>Download size: &imagemagick-size;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated disk space required: &imagemagick-buildsize;</para>
59 </listitem>
60 <listitem>
61 <para>Estimated build time: &imagemagick-time;</para>
62 </listitem>
63 </itemizedlist>
64
65 <para>The <application>ImageMagick</application> source releases are
66 updated frequently and the version shown above may no longer be available
67 from the download locations. You can download a more recent version and use
68 the existing BLFS instructions to install it. Chances are that it will
69 work just fine, but this has not been tested by the BLFS team. If the
70 package version shown above is not available from the locations shown
71 above, you can download it from the BLFS package server at
72 <ulink
73 url="&sources-anduin-http;/i/ImageMagick-&imagemagick-version;-&imagemagick-patch-version;.tar.bz2"/>.
74 </para>
75
76 <bridgehead renderas="sect3">ImageMagick Dependencies</bridgehead>
77
78 <bridgehead renderas="sect4">Recommended</bridgehead>
79 <para role="recommended"><xref linkend="x-window-system"/></para>
80
81 <para>The optional dependencies listed below should be installed if you
82 need support for the specific format or the conversion tool the dependency
83 provides. Many of the dependencies' capabilities and uses are described in
84 the <quote>MAGICK DELEGATES</quote> section of the
85 <filename>README.txt</filename> file located in the source tree. Additional
86 information about the dependencies can be found in the
87 <filename>Install-unix.txt</filename> file located in the source tree as
88 well as issuing the <command>./configure --help</command> command. A
89 summary of this information, as well as some additional notes can be viewed
90 on-line at <ulink
91 url="http://www.imagemagick.org/script/advanced-unix-installation.php"/>.</para>
92
93 <bridgehead renderas="sect4">Optional System Utilities</bridgehead>
94 <para role="optional">
95 <xref linkend="cups"/> or <xref linkend="LPRng"/> (or any other print
96 utility that provides an <command>lpr</command> command),
97 <ulink url="http://www.cybercom.net/~dcoffin/dcraw/">DCRaw</ulink>,
98 <ulink url="http://dmalloc.com/">Dmalloc</ulink>,
99 <ulink url="http://perens.com/FreeSoftware/">Electric Fence</ulink>,
100 <ulink url="http://www.gsp.com/support/virtual/email/pgp/">PGP</ulink>
101 or <xref linkend="gnupg"/> (you'll have to do some hacking to use
102 <application>GnuPG</application>),
103 <xref linkend="sane"/>, and
104 <xref linkend="wget"/>
105 </para>
106
107 <bridgehead renderas="sect4">Optional Graphics Libraries</bridgehead>
108 <para role="optional">
109 <ulink url="http://corefonts.sourceforge.net/">corefonts</ulink>,
110 <ulink url="http://www.i3a.org/i_flashpix.html">FlashPIX</ulink> (or
111 <ulink url="ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/libfpx-1.2.0.13.tar.bz2">
112 FlashPIX library</ulink>),
113 <xref linkend="freetype2"/>,
114 <ulink url="http://www.ece.uvic.ca/~mdadams/jasper/">Jasper</ulink>,
115 <ulink url="http://www.cl.cam.ac.uk/~mgk25/jbigkit/">JBIG-KIT</ulink>,
116 <xref linkend="lcms"/>,
117 <xref linkend="libexif"/>,
118 <xref linkend="libjpeg"/>,
119 <xref linkend="libpng"/>,
120 <xref linkend="librsvg"/>,
121 <xref linkend="libtiff"/>,
122 <xref linkend="libxml2"/>, and
123 <ulink url="http://www.agocg.ac.uk/train/cgm/ralcgm.htm">RALCGM</ulink>
124 </para>
125
126 <bridgehead renderas="sect4">Optional Graphics Utilities</bridgehead>
127 <para role="optional">
128 <xref linkend="espgs"/> or <xref linkend="gs"/>,
129 <ulink url="http://www.artifex.com/downloads/">GhostPCL</ulink>,
130 <xref linkend="gimp"/>,
131 <ulink url="http://www.gnuplot.info/">Gnuplot</ulink>,
132 <xref linkend="graphviz"/>,
133 <ulink url="http://www.povray.org/">POV-Ray</ulink>, and
134 <ulink url="http://radsite.lbl.gov/radiance/HOME.html">Radiance</ulink>
135 </para>
136
137 <bridgehead renderas="sect4">Optional Conversion Tools</bridgehead>
138 <para role="optional">
139 <ulink url="http://autotrace.sourceforge.net/">AutoTrace</ulink>,
140 <xref linkend="enscript"/>,
141 <ulink url="http://www.gnu.org/software/hp2xx/">hp2xx</ulink>,
142 <ulink url="http://user.it.uu.se/~jan/html2ps.html">html2ps</ulink>,
143 <ulink url="http://wvware.sourceforge.net/">libwmf</ulink>,
144 <ulink url="http://www.mpeg.org/MSSG/">MPEG-2 Video Codec</ulink>,
145 <ulink url="http://netpbm.sourceforge.net/">Netpbm</ulink>,
146 <xref linkend="tetex"/>,
147 <ulink url="http://www.xfig.org/">Transfig</ulink>,
148 <ulink url="http://txt2html.sourceforge.net/">txt2html</ulink>
149 (requires <xref linkend="perl-module-build"/> and Perl Module
150 <ulink url="http://cpan.org/authors/id/J/JS/JSTENZEL/Getopt-ArgvFile-1.10.tgz">
151 Getopt::ArgvFile</ulink>), and
152 <ulink url="http://www.cs.utah.edu/gdc/projects/urt/">Utah Raster Toolkit</ulink>
153 (or <ulink
154 url="http://www.funet.fi/pub/graphics/packages/Utah-Raster-Toolkit/rel3/urt-3.1b.mlg.tar.gz">
155 source</ulink>)
156 </para>
157
158 <para condition="html" role="usernotes">User Notes:
159 <ulink url="&blfs-wiki;/imagemagick"/></para>
160
161 </sect2>
162
163 <sect2 role="installation">
164 <title>Installation of ImageMagick</title>
165
166 <para>Install <application>Imagemagick</application> by running the following
167 commands:</para>
168
169<screen><userinput>./configure --prefix=/usr --with-modules &amp;&amp;
170make</userinput></screen>
171
172 <para>To test the results, issue: <command>make check</command>. Note that
173 as many as 17% of the tests may fail due to system and/or build parameter
174 settings.</para>
175
176 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
177
178<screen role="root"><userinput>make install</userinput></screen>
179
180 <!-- Commenting this out for now as it is redundant to information
181 that has already been presented, or is in the 'command explanations'
182 section below.
183 <sect3>
184 <title>Additional Configure Options</title>
185
186 <para>There are additional switches that can be passed to
187 <application>ImageMagick</application> to customize the installation to
188 your needs. See <filename>advanced-unix-installation.html</filename> in
189 the <filename class='directory'>www</filename> directory.</para>
190
191 </sect3>
192 -->
193
194 </sect2>
195
196 <sect2 role="commands">
197 <title>Command Explanations</title>
198
199 <para><parameter>--with-modules</parameter>: Enables support for dynamically
200 loadable modules.</para>
201
202 <para><option>--with-gslib=/usr/lib</option>: Enables support to use the
203 Ghostscript shared library.</para>
204
205 <para><option>--with-fpx</option>: Enables support to use the FlashPix
206 library.</para>
207
208 <para><option>--with-windows-font-dir=<replaceable>&lt;Some/Directory&gt;</replaceable></option>:
209 This option specifies the directory where the Windows CoreFonts are
210 installed.</para>
211
212 <para>The options and parameters listed above are the only ones you should
213 have to pass to the <command>configure</command> script to activate all the
214 delegate dependencies. All other dependencies will be automatically
215 detected and utilized in the build if they are installed.</para>
216
217 </sect2>
218
219 <sect2 role="content">
220 <title>Contents</title>
221
222 <segmentedlist>
223 <segtitle>Installed Programs</segtitle>
224 <segtitle>Installed Libraries</segtitle>
225 <segtitle>Installed Directories</segtitle>
226
227 <seglistitem>
228 <seg>animate, compare, composite, conjure, convert, display,
229 identify, import, Magick-config, Magick++-config, mogrify,
230 montage, and Wand-config</seg>
231 <seg>libMagick.{so,a}, libMagick++.{so,a}, libWand.{so,a},
232 the Magick.so Perl module, and numerous plugin modules</seg>
233 <seg>/usr/include/Magick++, /usr/include/magick, /usr/include/wand,
234 /usr/lib/ImageMagick-&imagemagick-version;,
235 /usr/lib/perl5/site_perl/&lfs-perl-version;/i686-linux/auto/Image/Magick,
236 /usr/share/ImageMagick-&imagemagick-version; and
237 /usr/share/doc/ImageMagick-&imagemagick-version;</seg>
238 </seglistitem>
239 </segmentedlist>
240
241 <variablelist>
242 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
243 <?dbfo list-presentation="list"?>
244 <?dbhtml list-presentation="table"?>
245
246 <varlistentry id="animate">
247 <term><command>animate</command></term>
248 <listitem>
249 <para>animates a sequence of images.</para>
250 <indexterm zone="imagemagick animate">
251 <primary sortas="b-animate">animate</primary>
252 </indexterm>
253 </listitem>
254 </varlistentry>
255
256 <varlistentry id="compare">
257 <term><command>compare</command></term>
258 <listitem>
259 <para>compares an image to a reconstructed image.</para>
260 <indexterm zone="imagemagick compare">
261 <primary sortas="b-compare">compare</primary>
262 </indexterm>
263 </listitem>
264 </varlistentry>
265
266 <varlistentry id="composite">
267 <term><command>composite</command></term>
268 <listitem>
269 <para>composites various images into the given base image.</para>
270 <indexterm zone="imagemagick composite">
271 <primary sortas="b-composite">composite</primary>
272 </indexterm>
273 </listitem>
274 </varlistentry>
275
276 <varlistentry id="conjure">
277 <term><command>conjure</command></term>
278 <listitem>
279 <para>processes a MSL script to create an image.</para>
280 <indexterm zone="imagemagick conjure">
281 <primary sortas="b-conjure">conjure</primary>
282 </indexterm>
283 </listitem>
284 </varlistentry>
285
286 <varlistentry id="convert">
287 <term><command>convert</command></term>
288 <listitem>
289 <para>converts image(s) from one format to another.</para>
290 <indexterm zone="imagemagick convert">
291 <primary sortas="b-convert">convert</primary>
292 </indexterm>
293 </listitem>
294 </varlistentry>
295
296 <varlistentry id="display">
297 <term><command>display</command></term>
298 <listitem>
299 <para>displays an image.</para>
300 <indexterm zone="imagemagick display">
301 <primary sortas="b-display">display</primary>
302 </indexterm>
303 </listitem>
304 </varlistentry>
305
306 <varlistentry id="identify">
307 <term><command>identify</command></term>
308 <listitem>
309 <para>describes the format and characteristics of an image file.</para>
310 <indexterm zone="imagemagick identify">
311 <primary sortas="b-identify">identify</primary>
312 </indexterm>
313 </listitem>
314 </varlistentry>
315
316 <varlistentry id="import">
317 <term><command>import</command></term>
318 <listitem>
319 <para>captures an X window.</para>
320 <indexterm zone="imagemagick import">
321 <primary sortas="b-import">import</primary>
322 </indexterm>
323 </listitem>
324 </varlistentry>
325
326 <varlistentry id="magick-config">
327 <term><command>Magick-config</command> and
328 <command>Magick++-config</command></term>
329 <listitem>
330 <para>show information about the installed versions of
331 <application>ImageMagick</application> and Magick++.</para>
332 <indexterm zone="imagemagick magick-config">
333 <primary sortas="b-Magick-config">Magick-config</primary>
334 </indexterm>
335 </listitem>
336 </varlistentry>
337
338 <varlistentry id="mogrify">
339 <term><command>mogrify</command></term>
340 <listitem>
341 <para>transforms an image.</para>
342 <indexterm zone="imagemagick mogrify">
343 <primary sortas="b-mogrify">mogrify</primary>
344 </indexterm>
345 </listitem>
346 </varlistentry>
347
348 <varlistentry id="montage">
349 <term><command>montage</command></term>
350 <listitem>
351 <para>composites various images into a new image.</para>
352 <indexterm zone="imagemagick montage">
353 <primary sortas="b-montage">montage</primary>
354 </indexterm>
355 </listitem>
356 </varlistentry>
357
358 <varlistentry id="wand-config">
359 <term><command>Wand-config</command></term>
360 <listitem>
361 <para>shows the options required to use the Wand library.</para>
362 <indexterm zone="imagemagick wand-config">
363 <primary sortas="b-Wand-config">Wand-config</primary>
364 </indexterm>
365 </listitem>
366 </varlistentry>
367
368 <varlistentry id="perlmagick">
369 <term><filename class='libraryfile'>Image::Magick</filename></term>
370 <listitem>
371 <para>allows the reading, manipulation and writing of a large number of
372 image file formats using the <application>ImageMagick</application>
373 library. Run <command>make</command> in the
374 <filename class='directory'>PerlMagick/demo</filename> directory of
375 the package source tree after the package is installed to see a nice
376 demo of the module's capabilities.</para>
377 <indexterm zone="imagemagick perlmagick">
378 <primary sortas="g-Image-Magick">Image::Magick</primary>
379 </indexterm>
380 </listitem>
381 </varlistentry>
382
383 </variablelist>
384
385 </sect2>
386
387</sect1>
Note: See TracBrowser for help on using the repository browser.