source: general/genutils/imagemagick.xml@ da96398

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 da96398 was da96398, checked in by Alexander E. Patrakov <alexander@…>, 17 years ago

Improved wording for ImageMagick UTF-8 sed

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

  • Property mode set to 100644
File size: 16.2 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 "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 "484cd7b62fac2164e8257449405f2563">
11 <!ENTITY imagemagick-size "5.2 MB">
12 <!ENTITY imagemagick-buildsize "174 MB (additional 68 MB if you run the Image::Magick demo)">
13 <!ENTITY imagemagick-time "3.4 SBU (Additional 1.1 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.21.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 "s/\xc3\xa9/\\\\['e]/" utilities/ImageMagick.1 &amp;&amp;
174./configure --prefix=/usr --with-modules &amp;&amp;
175make</userinput></screen>
176
177 <para>To test the results, issue: <command>make check</command>. Note that
178 some of the tests may fail due to system and/or build parameter settings.
179 In a recent test build performed on a current LFS SVN (20060508) platform
180 with all the delegate dependencies installed, 11 of the 714 tests
181 failed.</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 "s/\xc3\xa9/\\\\['e]/"
207 utilities/ImageMagick.1</command>: One man page is installed with character
208 encoding not displayable using the <application>Man-db</application>
209 package. This command changes the offending bytes to characters
210 <command>man</command> can properly display.</para>
211
212 <para><parameter>--with-modules</parameter>: Enables support for dynamically
213 loadable modules.</para>
214
215 <para><option>--with-gslib=/usr/lib</option>: Enables support to use the
216 Ghostscript shared library.</para>
217
218 <para><option>--with-fpx</option>: Enables support to use the FlashPix
219 library.</para>
220
221 <para><option>--with-windows-font-dir=<replaceable>&lt;Some/Directory&gt;</replaceable></option>:
222 This option specifies the directory where the Windows CoreFonts are
223 installed.</para>
224
225 <para>The options and parameters listed above are the only ones you should
226 have to pass to the <command>configure</command> script to activate all the
227 delegate dependencies. All other dependencies will be automatically
228 detected and utilized in the build if they are installed.</para>
229
230 </sect2>
231
232 <sect2 role="content">
233 <title>Contents</title>
234
235 <segmentedlist>
236 <segtitle>Installed Programs</segtitle>
237 <segtitle>Installed Libraries</segtitle>
238 <segtitle>Installed Directories</segtitle>
239
240 <seglistitem>
241 <seg>animate, compare, composite, conjure, convert, display,
242 identify, import, Magick-config, Magick++-config, mogrify,
243 montage, and Wand-config</seg>
244 <seg>libMagick.{so,a}, libMagick++.{so,a}, libWand.{so,a},
245 the Magick.so Perl module, and numerous plugin modules</seg>
246 <seg>/usr/include/Magick++, /usr/include/magick, /usr/include/wand,
247 /usr/lib/ImageMagick-&imagemagick-version;,
248 /usr/lib/perl5/site_perl/&lfs-perl-version;/i686-linux/auto/Image/Magick,
249 /usr/share/ImageMagick-&imagemagick-version; and
250 /usr/share/doc/ImageMagick-&imagemagick-version;</seg>
251 </seglistitem>
252 </segmentedlist>
253
254 <variablelist>
255 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
256 <?dbfo list-presentation="list"?>
257 <?dbhtml list-presentation="table"?>
258
259 <varlistentry id="animate">
260 <term><command>animate</command></term>
261 <listitem>
262 <para>animates a sequence of images.</para>
263 <indexterm zone="imagemagick animate">
264 <primary sortas="b-animate">animate</primary>
265 </indexterm>
266 </listitem>
267 </varlistentry>
268
269 <varlistentry id="compare">
270 <term><command>compare</command></term>
271 <listitem>
272 <para>compares an image to a reconstructed image.</para>
273 <indexterm zone="imagemagick compare">
274 <primary sortas="b-compare">compare</primary>
275 </indexterm>
276 </listitem>
277 </varlistentry>
278
279 <varlistentry id="composite">
280 <term><command>composite</command></term>
281 <listitem>
282 <para>composites various images into the given base image.</para>
283 <indexterm zone="imagemagick composite">
284 <primary sortas="b-composite">composite</primary>
285 </indexterm>
286 </listitem>
287 </varlistentry>
288
289 <varlistentry id="conjure">
290 <term><command>conjure</command></term>
291 <listitem>
292 <para>processes a MSL script to create an image.</para>
293 <indexterm zone="imagemagick conjure">
294 <primary sortas="b-conjure">conjure</primary>
295 </indexterm>
296 </listitem>
297 </varlistentry>
298
299 <varlistentry id="convert">
300 <term><command>convert</command></term>
301 <listitem>
302 <para>converts image(s) from one format to another.</para>
303 <indexterm zone="imagemagick convert">
304 <primary sortas="b-convert">convert</primary>
305 </indexterm>
306 </listitem>
307 </varlistentry>
308
309 <varlistentry id="display">
310 <term><command>display</command></term>
311 <listitem>
312 <para>displays an image.</para>
313 <indexterm zone="imagemagick display">
314 <primary sortas="b-display">display</primary>
315 </indexterm>
316 </listitem>
317 </varlistentry>
318
319 <varlistentry id="identify">
320 <term><command>identify</command></term>
321 <listitem>
322 <para>describes the format and characteristics of an image file.</para>
323 <indexterm zone="imagemagick identify">
324 <primary sortas="b-identify">identify</primary>
325 </indexterm>
326 </listitem>
327 </varlistentry>
328
329 <varlistentry id="import">
330 <term><command>import</command></term>
331 <listitem>
332 <para>captures an X window.</para>
333 <indexterm zone="imagemagick import">
334 <primary sortas="b-import">import</primary>
335 </indexterm>
336 </listitem>
337 </varlistentry>
338
339 <varlistentry id="magick-config">
340 <term><command>Magick-config</command> and
341 <command>Magick++-config</command></term>
342 <listitem>
343 <para>show information about the installed versions of
344 <application>ImageMagick</application> and Magick++.</para>
345 <indexterm zone="imagemagick magick-config">
346 <primary sortas="b-Magick-config">Magick-config</primary>
347 </indexterm>
348 </listitem>
349 </varlistentry>
350
351 <varlistentry id="mogrify">
352 <term><command>mogrify</command></term>
353 <listitem>
354 <para>transforms an image.</para>
355 <indexterm zone="imagemagick mogrify">
356 <primary sortas="b-mogrify">mogrify</primary>
357 </indexterm>
358 </listitem>
359 </varlistentry>
360
361 <varlistentry id="montage">
362 <term><command>montage</command></term>
363 <listitem>
364 <para>composites various images into a new image.</para>
365 <indexterm zone="imagemagick montage">
366 <primary sortas="b-montage">montage</primary>
367 </indexterm>
368 </listitem>
369 </varlistentry>
370
371 <varlistentry id="wand-config">
372 <term><command>Wand-config</command></term>
373 <listitem>
374 <para>shows the options required to use the Wand library.</para>
375 <indexterm zone="imagemagick wand-config">
376 <primary sortas="b-Wand-config">Wand-config</primary>
377 </indexterm>
378 </listitem>
379 </varlistentry>
380
381 <varlistentry id="perlmagick">
382 <term><filename class='libraryfile'>Image::Magick</filename></term>
383 <listitem>
384 <para>allows the reading, manipulation and writing of a large number of
385 image file formats using the <application>ImageMagick</application>
386 library. Run <command>make</command> in the
387 <filename class='directory'>PerlMagick/demo</filename> directory of
388 the package source tree after the package is installed to see a nice
389 demo of the module's capabilities.</para>
390 <indexterm zone="imagemagick perlmagick">
391 <primary sortas="g-Image-Magick">Image::Magick</primary>
392 </indexterm>
393 </listitem>
394 </varlistentry>
395
396 </variablelist>
397
398 </sect2>
399
400</sect1>
Note: See TracBrowser for help on using the repository browser.