source: general/genutils/imagemagick.xml@ de3764f

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 de3764f was de3764f, checked in by Randy McMurchy <randy@…>, 18 years ago

Added a note about the frequent updates to the ImageMagick sources in the ImageMagick instructions

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

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