source: general/genutils/imagemagick.xml@ a95545c

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 a95545c was a95545c, checked in by Randy McMurchy <randy@…>, 17 years ago

Updated the dcraw version in the ImageMagick instructions

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

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