source: general/genutils/imagemagick.xml@ 07b2510

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

Updated the dcraw URL in the ImageMagick instructions

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

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