source: general/genutils/imagemagick.xml@ 09bd4be1

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 09bd4be1 was 09bd4be1, checked in by Ag Hatzimanikas <ag@…>, 17 years ago

Fixed incorrect sed in command explanations, in ImageMagick instructions. Thanks to kratz00 for the report.

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

  • Property mode set to 100644
File size: 16.5 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 "3">
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 "8e3dbc80d5185a45e8989660ac3e13e0">
11 <!ENTITY imagemagick-size "5.9 MB">
12 <!ENTITY imagemagick-buildsize "140 MB (additional 70 MB if you run the Image::Magick demo)">
13 <!ENTITY imagemagick-time "3.8 SBU (Additional 1.3 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"/>,
129 <ulink url="http://djvu.sourceforge.net/">DjVuLibre</ulink>, and
130 <ulink url="http://www.agocg.ac.uk/train/cgm/ralcgm.htm">RALCGM</ulink>
131 (or <ulink url="http://www.mcmurchy.com/ralcgm/ralcgm-3.50.tar.gz">RALCGM-3.50</ulink>)
132 </para>
133
134 <bridgehead renderas="sect4">Optional Graphics Utilities</bridgehead>
135 <para role="optional"><xref linkend="espgs"/> or <xref linkend="gs"/>,
136 <ulink url="http://www.artifex.com/downloads/">GhostPCL</ulink>,
137 <xref linkend="gimp"/>,
138 <ulink url="http://www.gnuplot.info/">Gnuplot</ulink>,
139 <xref linkend="graphviz"/> (requires a &gt;2.8 development snapshot),
140 <ulink url="http://www.povray.org/">POV-Ray</ulink>, and
141 <ulink url="http://radsite.lbl.gov/radiance/HOME.html">Radiance</ulink>
142 </para>
143
144 <bridgehead renderas="sect4">Optional Conversion Tools</bridgehead>
145 <para role="optional"><ulink url="http://autotrace.sourceforge.net/">AutoTrace</ulink>,
146 <xref linkend="enscript"/>,
147 <ulink url="http://www.gnu.org/software/hp2xx/">hp2xx</ulink>,
148 <ulink url="http://user.it.uu.se/~jan/html2ps.html">html2ps</ulink>,
149 <ulink url="http://wvware.sourceforge.net/">libwmf</ulink>,
150 <ulink url="http://www.mpeg.org/MSSG/">MPEG-2 Video Codec</ulink>,
151 <ulink url="http://netpbm.sourceforge.net/">Netpbm</ulink>,
152 <xref linkend="tetex"/>,
153 <ulink url="http://www.xfig.org/">Transfig</ulink>,
154 <ulink url="http://txt2html.sourceforge.net/">txt2html</ulink>
155 (requires <xref linkend="perl-module-build"/> and Perl Module
156 <ulink url="http://cpan.org/authors/id/J/JS/JSTENZEL/Getopt-ArgvFile-1.11.tar.gz">
157 Getopt::ArgvFile</ulink>), and
158 <ulink url="http://www.cs.utah.edu/gdc/projects/urt/">Utah Raster Toolkit</ulink>
159 <!-- url="http://www.funet.fi/pub/graphics/packages/Utah-Raster-Toolkit/rel3/urt-3.1b.mlg.tar.gz"> -->
160 (or <ulink url="http://www.mcmurchy.com/urt/urt-3.1b.tar.gz">URT-3.1b</ulink>)
161 </para>
162
163 <para condition="html" role="usernotes">User Notes:
164 <ulink url="&blfs-wiki;/imagemagick"/></para>
165
166 </sect2>
167
168 <sect2 role="installation">
169 <title>Installation of ImageMagick</title>
170
171 <para>Install <application>Imagemagick</application> by running the following
172 commands:</para>
173
174<screen><userinput>sed -i -e "s/\xc2\xae/\\\[rg\]/g" \
175 -e "s/B...'e./Be/" utilities/ImageMagick.1.in &amp;&amp;
176./configure --prefix=/usr --with-modules &amp;&amp;
177make</userinput></screen>
178
179 <para>To test the results, issue: <command>make check</command>. Note that
180 some of the tests may fail due to system and/or build parameter
181 settings.</para>
182
183 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
184
185<screen role="root"><userinput>make install</userinput></screen>
186
187 <!-- Commenting this out for now as it is redundant to information
188 that has already been presented, or is in the 'command explanations'
189 section below.
190 <sect3>
191 <title>Additional Configure Options</title>
192
193 <para>There are additional switches that can be passed to
194 <application>ImageMagick</application> to customize the installation to
195 your needs. See <filename>advanced-unix-installation.html</filename> in
196 the <filename class='directory'>www</filename> directory.</para>
197
198 </sect3>
199 -->
200
201 </sect2>
202
203 <sect2 role="commands">
204 <title>Command Explanations</title>
205
206 <para><command>sed -i -e "..." -e "..."</command>: One man page is installed with
207 character encoding not displayable using the <application>Man-db</application>
208 package. This command changes the offending bytes to characters
209 <command>man</command> can properly display.</para>
210
211 <para><parameter>--with-modules</parameter>: Enables support for dynamically
212 loadable modules.</para>
213
214 <para><option>--with-gslib=/usr/lib</option>: Enables support to use the
215 Ghostscript shared library.</para>
216
217 <para><option>--with-fpx</option>: Enables support to use the FlashPix
218 library.</para>
219
220 <para><option>--with-windows-font-dir=<replaceable>&lt;Some/Directory&gt;</replaceable></option>:
221 This option specifies the directory where the Windows CoreFonts are
222 installed.</para>
223
224 <para>The options and parameters listed above are the only ones you should
225 have to pass to the <command>configure</command> script to activate all the
226 delegate dependencies. All other dependencies will be automatically
227 detected and utilized in the build if they are installed.</para>
228
229 </sect2>
230
231 <sect2 role="content">
232 <title>Contents</title>
233
234 <segmentedlist>
235 <segtitle>Installed Programs</segtitle>
236 <segtitle>Installed Libraries</segtitle>
237 <segtitle>Installed Directories</segtitle>
238
239 <seglistitem>
240 <seg>animate, compare, composite, conjure, convert, display,
241 identify, import, Magick-config, Magick++-config, mogrify,
242 montage, stream, and Wand-config</seg>
243 <seg>libMagick.{so,a}, libMagick++.{so,a}, libWand.{so,a},
244 the Magick.so Perl module, and numerous plugin modules</seg>
245 <seg>/usr/include/Magick++, /usr/include/magick, /usr/include/wand,
246 /usr/lib/ImageMagick-&imagemagick-version;,
247 /usr/lib/perl5/site_perl/&lfs-perl-version;/i686-linux/auto/Image/Magick,
248 /usr/share/ImageMagick-&imagemagick-version; and
249 /usr/share/doc/ImageMagick-&imagemagick-version;</seg>
250 </seglistitem>
251 </segmentedlist>
252
253 <variablelist>
254 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
255 <?dbfo list-presentation="list"?>
256 <?dbhtml list-presentation="table"?>
257
258 <varlistentry id="animate">
259 <term><command>animate</command></term>
260 <listitem>
261 <para>animates a sequence of images.</para>
262 <indexterm zone="imagemagick animate">
263 <primary sortas="b-animate">animate</primary>
264 </indexterm>
265 </listitem>
266 </varlistentry>
267
268 <varlistentry id="compare">
269 <term><command>compare</command></term>
270 <listitem>
271 <para>compares an image to a reconstructed image.</para>
272 <indexterm zone="imagemagick compare">
273 <primary sortas="b-compare">compare</primary>
274 </indexterm>
275 </listitem>
276 </varlistentry>
277
278 <varlistentry id="composite">
279 <term><command>composite</command></term>
280 <listitem>
281 <para>composites various images into the given base image.</para>
282 <indexterm zone="imagemagick composite">
283 <primary sortas="b-composite">composite</primary>
284 </indexterm>
285 </listitem>
286 </varlistentry>
287
288 <varlistentry id="conjure">
289 <term><command>conjure</command></term>
290 <listitem>
291 <para>processes a MSL script to create an image.</para>
292 <indexterm zone="imagemagick conjure">
293 <primary sortas="b-conjure">conjure</primary>
294 </indexterm>
295 </listitem>
296 </varlistentry>
297
298 <varlistentry id="convert">
299 <term><command>convert</command></term>
300 <listitem>
301 <para>converts image(s) from one format to another.</para>
302 <indexterm zone="imagemagick convert">
303 <primary sortas="b-convert">convert</primary>
304 </indexterm>
305 </listitem>
306 </varlistentry>
307
308 <varlistentry id="display">
309 <term><command>display</command></term>
310 <listitem>
311 <para>displays an image.</para>
312 <indexterm zone="imagemagick display">
313 <primary sortas="b-display">display</primary>
314 </indexterm>
315 </listitem>
316 </varlistentry>
317
318 <varlistentry id="identify">
319 <term><command>identify</command></term>
320 <listitem>
321 <para>describes the format and characteristics of an image file.</para>
322 <indexterm zone="imagemagick identify">
323 <primary sortas="b-identify">identify</primary>
324 </indexterm>
325 </listitem>
326 </varlistentry>
327
328 <varlistentry id="import">
329 <term><command>import</command></term>
330 <listitem>
331 <para>captures an X window.</para>
332 <indexterm zone="imagemagick import">
333 <primary sortas="b-import">import</primary>
334 </indexterm>
335 </listitem>
336 </varlistentry>
337
338 <varlistentry id="magick-config">
339 <term><command>Magick-config</command> and
340 <command>Magick++-config</command></term>
341 <listitem>
342 <para>show information about the installed versions of
343 <application>ImageMagick</application> and Magick++.</para>
344 <indexterm zone="imagemagick magick-config">
345 <primary sortas="b-Magick-config">Magick-config</primary>
346 </indexterm>
347 </listitem>
348 </varlistentry>
349
350 <varlistentry id="mogrify">
351 <term><command>mogrify</command></term>
352 <listitem>
353 <para>transforms an image.</para>
354 <indexterm zone="imagemagick mogrify">
355 <primary sortas="b-mogrify">mogrify</primary>
356 </indexterm>
357 </listitem>
358 </varlistentry>
359
360 <varlistentry id="montage">
361 <term><command>montage</command></term>
362 <listitem>
363 <para>composites various images into a new image.</para>
364 <indexterm zone="imagemagick montage">
365 <primary sortas="b-montage">montage</primary>
366 </indexterm>
367 </listitem>
368 </varlistentry>
369
370 <varlistentry id="stream">
371 <term><command>stream</command></term>
372 <listitem>
373 <para>streams one or more pixel components of an image or
374 portion of the image to your choice of storage formats.</para>
375 <indexterm zone="imagemagick stream">
376 <primary sortas="b-stream">stream</primary>
377 </indexterm>
378 </listitem>
379 </varlistentry>
380
381 <varlistentry id="wand-config">
382 <term><command>Wand-config</command></term>
383 <listitem>
384 <para>shows the options required to use the Wand library.</para>
385 <indexterm zone="imagemagick wand-config">
386 <primary sortas="b-Wand-config">Wand-config</primary>
387 </indexterm>
388 </listitem>
389 </varlistentry>
390
391 <varlistentry id="perlmagick">
392 <term><filename class='libraryfile'>Image::Magick</filename></term>
393 <listitem>
394 <para>allows the reading, manipulation and writing of a large number of
395 image file formats using the <application>ImageMagick</application>
396 library. Run <command>make</command> in the
397 <filename class='directory'>PerlMagick/demo</filename> directory of
398 the package source tree after the package is installed to see a nice
399 demo of the module's capabilities.</para>
400 <indexterm zone="imagemagick perlmagick">
401 <primary sortas="g-Image-Magick">Image::Magick</primary>
402 </indexterm>
403 </listitem>
404 </varlistentry>
405
406 </variablelist>
407
408 </sect2>
409
410</sect1>
Note: See TracBrowser for help on using the repository browser.