source: general/genutils/imagemagick.xml@ a50c3f8

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since a50c3f8 was b520295, checked in by Fernando de Oliveira <fernando@…>, 8 years ago
  • Update to ImageMagick-6.9.3-0.
  • Update to xterm-322.

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

  • Property mode set to 100644
File size: 18.5 KB
RevLine 
[52d29f7]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[52d29f7]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[bf8eb65]7 <!ENTITY imagemagick-patch-version "0">
[74f73ede]8
[5930509]9 <!ENTITY imagemagick-download-http " ">
[decad7a]10 <!ENTITY imagemagick-download-ftp "ftp://ftp.imagemagick.org/pub/ImageMagick/releases/ImageMagick-&imagemagick-version;-&imagemagick-patch-version;.tar.xz">
[b520295]11 <!ENTITY imagemagick-md5sum "87939f4f82d6f24a28d3106a58d523d8">
12 <!ENTITY imagemagick-size "8.4 MB">
13 <!ENTITY imagemagick-buildsize "192 MB, with typical dependencies (226 MB with the test suite, reputedly 450 MB with all dependencies)">
14 <!ENTITY imagemagick-time "2.2 SBU - typical build (additional 3.5 SBU to run the test suite and 3.4 SBU to run the validation suite)">
[52d29f7]15]>
16
[9c1fc963]17<!-- Editors: It is highly unlikely that the buildsize (disk space used) will
18 be less than the figure shown above. Unless you have installed *all* the
19 delegate dependencies, you will see a smaller buildsize, but what is
20 currently listed above is the space one would require if all the
21 dependencies are installed, which is what we want.
22
[71c9d11]23 Marked as 'typical' because nobody builds ALL the optional extras [ken]
[a257775]24 Saved the "full" 450MB as a comment - feel free to update this iff you
25 do build all dependencies, it's probably a lot bigger now.
[71c9d11]26
[9c1fc963]27 Also, please look over the output from the configure command for any
28 additional dependencies that need to be listed, as ImageMagick is
29 constantly adding additional features and dependencies. -->
30
[feb1a649]31<sect1 id="imagemagick" xreflabel="ImageMagick-&imagemagick-version;-&imagemagick-patch-version;">
[db656dd]32 <?dbhtml filename="imagemagick.html"?>
[fc7afd0c]33
[db656dd]34 <sect1info>
35 <othername>$LastChangedBy$</othername>
36 <date>$Date$</date>
37 </sect1info>
[fc7afd0c]38
[db656dd]39 <title>ImageMagick-&imagemagick-version;-&imagemagick-patch-version;</title>
[fc7afd0c]40
[db656dd]41 <indexterm zone="imagemagick">
42 <primary sortas="a-ImageMagick">ImageMagick</primary>
43 </indexterm>
44
45 <sect2 role="package">
46 <title>Introduction to ImageMagick</title>
[fc7afd0c]47
[7f1ab53]48 <para>
49 <application>ImageMagick</application> is a collection of tools and
[b520295]50 libraries to read, write, and manipulate an image in various image
51 formats. Image processing operations are available from the command line.
52 Bindings for Perl and C++ are also available.
[7f1ab53]53 </para>
[fc7afd0c]54
[c02ea85]55 &lfs78_checked;
[71c9d11]56
[db656dd]57 <bridgehead renderas="sect3">Package Information</bridgehead>
58 <itemizedlist spacing="compact">
59 <listitem>
60 <para>Download (HTTP): <ulink url="&imagemagick-download-http;"/></para>
61 </listitem>
62 <listitem>
63 <para>Download (FTP): <ulink url="&imagemagick-download-ftp;"/></para>
64 </listitem>
65 <listitem>
66 <para>Download MD5 sum: &imagemagick-md5sum;</para>
67 </listitem>
68 <listitem>
69 <para>Download size: &imagemagick-size;</para>
70 </listitem>
71 <listitem>
72 <para>Estimated disk space required: &imagemagick-buildsize;</para>
73 </listitem>
74 <listitem>
75 <para>Estimated build time: &imagemagick-time;</para>
76 </listitem>
77 </itemizedlist>
[fc7afd0c]78
[7f1ab53]79 <note>
80 <para>
[b520295]81 The <application>ImageMagick</application> source releases are updated
82 frequently and the version shown above may no longer be available from
83 the download locations. You can download a more recent version and use
[7f1ab53]84 the existing BLFS instructions to install it. Chances are that it will
85 work just fine, but this has not been tested by the BLFS team. If the
86 package version shown above is not available from the locations shown
[b520295]87 above, or from the <filename class='directory'>legacy/</filename>
88 directory at <literal>ftp.ImageMagick.org/pub/ImageMagick</literal> you
89 can download it from the BLFS package server at <ulink
[a29486e4]90 url="&sources-anduin-http;/ImageMagick/ImageMagick-&imagemagick-version;-&imagemagick-patch-version;.tar.xz"/>.
[7f1ab53]91 </para>
92 </note>
[de3764f]93
[db656dd]94 <bridgehead renderas="sect3">ImageMagick Dependencies</bridgehead>
[fc7afd0c]95
[6cc3f39]96 <bridgehead renderas="sect4">Recommended</bridgehead>
[7f1ab53]97 <para role="recommended">
[feb1a649]98 <xref linkend="xorg7-lib"/>
[7f1ab53]99 </para>
100
101 <para>
[b520295]102 The optional dependencies listed below should be installed if you need
103 support for the specific format or the conversion tool the dependency
[7f1ab53]104 provides. Many of the dependencies' capabilities and uses are described in
105 the <quote>MAGICK DELEGATES</quote> section of the
[b520295]106 <filename>README.txt</filename> file located in the source tree.
107 Additional information about the dependencies can be found in the
[7f1ab53]108 <filename>Install-unix.txt</filename> file located in the source tree as
109 well as issuing the <command>./configure --help</command> command. A
[b520295]110 summary of this information, as well as some additional notes can be
111 viewed on-line at <ulink
[7f1ab53]112 url="http://www.imagemagick.org/script/advanced-unix-installation.php"/>.
113 </para>
[744e7e9]114
115 <bridgehead renderas="sect4">Optional System Utilities</bridgehead>
[7f1ab53]116 <para role="optional">
[0d7900a]117 <xref linkend="cups"/>,
118 <xref linkend="curl"/>,
[feb1a649]119 <xref linkend="ffmpeg"/>,
120 <xref linkend="p7zip"/> (LZMA),
121 <xref linkend="sane"/>,
122 <xref linkend="wget"/>,
123 <xref linkend="xdg-utils"/>,
124 <xref linkend="xterm2"/>,
[7f1ab53]125 <ulink url="http://dmalloc.com/">Dmalloc</ulink>,
[310998a4]126 <ulink url="http://linux.softpedia.com/get/Programming/Debuggers/Electric-Fence-3305.shtml/">Electric Fence</ulink>,
[7f1ab53]127 <ulink url="http://www.fftw.org/">FFTW</ulink>,
[121496d0]128 <ulink url="http://www.openpgp.org/resources/downloads">PGP</ulink> or
[f82ac3f]129 <xref linkend="gnupg2"/>
[7f1ab53]130 (you'll have to do some hacking to use <application>GnuPG</application>),
[b520295]131 <ulink url="ftp://ftp.imagemagick.org/pub/ImageMagick/delegates">Profiles</ulink>,
132 and
133 <ulink url="http://ufraw.sourceforge.net/">ufraw</ulink> (for raw formats
134 listed in
135 <ulink url="http://www.imagemagick.org/www/formats.html">
136 http://www.imagemagick.org/www/formats.html</ulink>)
[744e7e9]137 </para>
138
139 <bridgehead renderas="sect4">Optional Graphics Libraries</bridgehead>
[7f1ab53]140 <para role="optional">
141 <xref linkend="jasper"/>,
142 <xref linkend="lcms"/> or
143 <xref linkend="lcms2"/>,
144 <xref linkend="libexif"/>,
145 <xref linkend="libjpeg"/>,
146 <xref linkend="libpng"/>,
147 <xref linkend="librsvg"/>,
148 <xref linkend="libtiff"/>,
[f4f57ff0]149 <xref linkend="libwebp"/>,
[bd81e201]150 <xref linkend="openjpeg2"/>,
[feb1a649]151 <xref linkend="pango"/>,
152 <ulink url="http://djvu.sourceforge.net/">DjVuLibre</ulink>,
153 <ulink url="ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/">
154 FlashPIX (libfpx)</ulink>,
155 <ulink url="http://www.cl.cam.ac.uk/~mgk25/jbigkit/">JBIG-KIT</ulink>,
156 <ulink url="&gnome-download-http;/libgxps/">libgxps</ulink>,
[7f1ab53]157 <ulink url="http://liblqr.wikidot.com/en:download-page">Liquid Rescale</ulink>,
[bd81e201]158 <ulink url="http://www.openexr.com/">OpenEXR</ulink>, and
[7f1ab53]159 <ulink url="http://www.agocg.ac.uk/train/cgm/ralcgm.htm">RALCGM</ulink>
160 (or <ulink url="http://www.mcmurchy.com/ralcgm/ralcgm-3.51.tar.gz">ralcgm</ulink>)
[744e7e9]161 </para>
162
163 <bridgehead renderas="sect4">Optional Graphics Utilities</bridgehead>
[7f1ab53]164 <para role="optional">
165 <xref linkend="gs"/>,
166 <xref linkend="gimp"/>,
167 <xref linkend="graphviz"/>,
168 <xref linkend="inkscape"/>,
[feb1a649]169 <ulink url="http://www.blender.org/">Blender</ulink>,
170 <ulink url="http://corefonts.sourceforge.net/">corefonts</ulink>,
[b520295]171 <ulink url="http://dejavu-fonts.org/wiki/Main_Page/">DejaVu fonts</ulink>,
[feb1a649]172 <ulink url="http://www.ghostscript.com/download/gpcldnld.html">GhostPCL</ulink>,
173 <ulink url="http://www.gnuplot.info/">Gnuplot</ulink>,
[7f1ab53]174 <ulink url="http://www.povray.org/">POV-Ray</ulink>, and
[68d5b0e]175 <ulink url="http://www.radiance-online.org/">Radiance</ulink>
[744e7e9]176 </para>
177
178 <bridgehead renderas="sect4">Optional Conversion Tools</bridgehead>
[7f1ab53]179 <para role="optional">
180 <xref linkend="enscript"/>,
[d2da67c]181 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>)
[feb1a649]182 <ulink url="http://autotrace.sourceforge.net/">AutoTrace</ulink>,
[7f1ab53]183 <ulink url="http://www.lizardtech.com/downloads/category/">
184 GeoExpress Command Line Utilities, AKA MrSID Utilities (binary package)</ulink>,
185 <ulink url="http://www.gnu.org/software/hp2xx/">hp2xx</ulink>,
186 <ulink url="http://user.it.uu.se/~jan/html2ps.html">html2ps</ulink>,
187 <ulink url="http://wvware.sourceforge.net/">libwmf</ulink>,
188 <ulink url="http://sk1project.org/modules.php?name=products&amp;product=uniconvertor">
189 UniConvertor</ulink>, and
190 <ulink url="http://www.cs.utah.edu/gdc/projects/urt/">Utah Raster Toolkit</ulink>
191 (or <ulink url="http://www.mcmurchy.com/urt/urt-3.1b.tar.gz">URT-3.1b</ulink>)
[744e7e9]192 </para>
[fc7afd0c]193
[1039de3]194 <para condition="html" role="usernotes">User Notes:
195 <ulink url="&blfs-wiki;/imagemagick"/></para>
196
[db656dd]197 </sect2>
[fc7afd0c]198
[db656dd]199 <sect2 role="installation">
200 <title>Installation of ImageMagick</title>
201
[7f1ab53]202 <para>
[b520295]203 Install <application>ImageMagick</application> by running the following
204 commands:
[7f1ab53]205 </para>
[db656dd]206
[7f1ab53]207<screen><userinput>./configure --prefix=/usr \
[844a44e1]208 --sysconfdir=/etc \
[feb1a649]209 --enable-hdri \
[844a44e1]210 --with-modules \
211 --with-perl \
[7f1ab53]212 --disable-static &amp;&amp;
[db656dd]213make</userinput></screen>
[fc7afd0c]214
[7f1ab53]215 <para>
216 Now, as the <systemitem class="username">root</systemitem> user:
217 </para>
[fc7afd0c]218
[9d37710]219<screen role="root"><userinput>make DOCUMENTATION_PATH=/usr/share/doc/imagemagick-&imagemagick-version; install</userinput></screen>
[71c9d11]220
[7f1ab53]221 <para>
[10c82eb]222 To test the installation, issue: <command>make check</command>. A more
223 comprehensive test is the <application>ImageMagick</application>
224 validation suite. If <command>make check</command> has not been executed,
225 run <command>make tests/validate</command> to compile it. Issue
226 <command>tests/validate 2>&amp;1 | tee validate.log</command> to run the
227 validation suite. The result summary may be obtained with <command>grep
228 "validation suite" validate.log</command>. Note that the EPS, PS, and PDF
229 tests require a working <application>Ghostscript</application>. One test
[bf8eb65]230 needs <quote>Helvetica</quote> from <quote>Ghostscript Standard
231 Fonts</quote>, which are optionally installed in <xref linkend="gs"/>.
[7f1ab53]232 </para>
233
[db656dd]234 </sect2>
[fc7afd0c]235
[db656dd]236 <sect2 role="commands">
237 <title>Command Explanations</title>
238
[7f1ab53]239 <para>
[feb1a649]240 <parameter>--enable-hdri</parameter>: Enables building of a
241 high dynamic range version of ImageMagick.
[7f1ab53]242 </para>
243
244 <para>
[feb1a649]245 <parameter>--with-modules</parameter>: Enables support for
246 dynamically loadable modules.
[7f1ab53]247 </para>
248
249 <para>
[feb1a649]250 <parameter>--with-perl</parameter>: Enables building and
251 installing of PerlMagick.
[7f1ab53]252 </para>
253
[bf8eb65]254 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
255 href="../../xincludes/static-libraries.xml"/>
[a44dbcef]256
[7f1ab53]257 <para>
[feb1a649]258 <option>--with-gslib</option>: Enables support to use the
[7f1ab53]259 <application>Ghostscript</application> shared library.
260 </para>
[fc7afd0c]261
[7f1ab53]262 <para>
263 <option>--with-rsvg</option>: Enables support to use the
264 <application>librsvg</application> library.
265 </para>
[844a44e1]266
[7f1ab53]267 <para>
[feb1a649]268 <option>--with-autotrace</option>: Enables support to use
269 the <application>Autotrace</application> library.
[7f1ab53]270 </para>
[844a44e1]271
[7f1ab53]272 <para>
273 <option>--with-wmf</option>: Enables support to use the
274 <application>libwmf</application> library.
275 </para>
[744e7e9]276
[7f1ab53]277 <para>
278 <option>--with-gvc</option>: Enables support to use
279 <application>GraphViz</application>.
280 </para>
[744e7e9]281
[7f1ab53]282 <para>
283 <option>--with-windows-font-dir=
284 <replaceable>&lt;Some/Directory&gt;</replaceable></option>:
285 This option specifies the directory where the Windows CoreFonts are
286 installed.
287 </para>
[744e7e9]288
[7f1ab53]289 <para>
290 <option>--with-dejavu-font-dir=
291 <replaceable>&lt;Some/Directory&gt;</replaceable></option>:
292 This option specifies the directory where the DejaVu fonts are
293 installed.
294 </para>
[744e7e9]295
[7f1ab53]296 <para>
297 The options and parameters listed above are the only ones you should
298 have to pass to the <command>configure</command> script to activate all
299 the delegate dependencies. All other dependencies will be automatically
300 detected and utilized in the build if they are installed.
301 </para>
[71c9d11]302
[db656dd]303 </sect2>
[fc7afd0c]304
[db656dd]305 <sect2 role="content">
306 <title>Contents</title>
307
308 <segmentedlist>
309 <segtitle>Installed Programs</segtitle>
310 <segtitle>Installed Libraries</segtitle>
311 <segtitle>Installed Directories</segtitle>
[fc7afd0c]312
[db656dd]313 <seglistitem>
[feb1a649]314 <seg>
315 animate, compare, composite, conjure, convert, display,
316 identify, import, Magick-config, Magick++-config, MagickCore-config,
317 MagickWand-config, mogrify, montage, stream, and Wand-config
318 </seg>
319 <seg>
[5c3335b5]320 libMagickCore-6.Q16HDRI.so,
[8b9ad6e]321 libMagickWand-6.Q16HDRI.so and
322 libMagick++-6.Q16HDRI.so
[feb1a649]323 </seg>
324 <seg>
325 /etc/ImageMagick-6,
326 /usr/include/ImageMagick-6,
327 /usr/lib/ImageMagick-&imagemagick-version;,
[10c82eb]328 /usr/lib/perl5/site_perl/&lfs-perl-version;/{,auto}/Image/Magick,
[bf8eb65]329 /usr/share/doc/ImageMagick-&imagemagick-version;, and
[10c82eb]330 /usr/share/ImageMagick-6
[feb1a649]331 </seg>
[db656dd]332 </seglistitem>
333 </segmentedlist>
[fc7afd0c]334
[db656dd]335 <variablelist>
336 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
[fc7afd0c]337 <?dbfo list-presentation="list"?>
[db656dd]338 <?dbhtml list-presentation="table"?>
[fc7afd0c]339
[db656dd]340 <varlistentry id="animate">
341 <term><command>animate</command></term>
342 <listitem>
343 <para>animates a sequence of images.</para>
344 <indexterm zone="imagemagick animate">
345 <primary sortas="b-animate">animate</primary>
346 </indexterm>
347 </listitem>
348 </varlistentry>
[fc7afd0c]349
[db656dd]350 <varlistentry id="compare">
351 <term><command>compare</command></term>
352 <listitem>
353 <para>compares an image to a reconstructed image.</para>
354 <indexterm zone="imagemagick compare">
355 <primary sortas="b-compare">compare</primary>
356 </indexterm>
357 </listitem>
358 </varlistentry>
[fc7afd0c]359
[db656dd]360 <varlistentry id="composite">
361 <term><command>composite</command></term>
362 <listitem>
363 <para>composites various images into the given base image.</para>
364 <indexterm zone="imagemagick composite">
365 <primary sortas="b-composite">composite</primary>
366 </indexterm>
367 </listitem>
368 </varlistentry>
[fc7afd0c]369
[db656dd]370 <varlistentry id="conjure">
371 <term><command>conjure</command></term>
372 <listitem>
373 <para>processes a MSL script to create an image.</para>
374 <indexterm zone="imagemagick conjure">
375 <primary sortas="b-conjure">conjure</primary>
376 </indexterm>
377 </listitem>
378 </varlistentry>
[fc7afd0c]379
[db656dd]380 <varlistentry id="convert">
381 <term><command>convert</command></term>
382 <listitem>
383 <para>converts image(s) from one format to another.</para>
384 <indexterm zone="imagemagick convert">
385 <primary sortas="b-convert">convert</primary>
386 </indexterm>
387 </listitem>
388 </varlistentry>
[fc7afd0c]389
[db656dd]390 <varlistentry id="display">
391 <term><command>display</command></term>
392 <listitem>
393 <para>displays an image.</para>
394 <indexterm zone="imagemagick display">
395 <primary sortas="b-display">display</primary>
396 </indexterm>
397 </listitem>
398 </varlistentry>
[fc7afd0c]399
[db656dd]400 <varlistentry id="identify">
401 <term><command>identify</command></term>
402 <listitem>
403 <para>describes the format and characteristics of an image file.</para>
404 <indexterm zone="imagemagick identify">
405 <primary sortas="b-identify">identify</primary>
406 </indexterm>
407 </listitem>
408 </varlistentry>
[fc7afd0c]409
[db656dd]410 <varlistentry id="import">
411 <term><command>import</command></term>
412 <listitem>
413 <para>captures an X window.</para>
414 <indexterm zone="imagemagick import">
415 <primary sortas="b-import">import</primary>
416 </indexterm>
417 </listitem>
418 </varlistentry>
[fc7afd0c]419
[db656dd]420 <varlistentry id="magick-config">
[7f1ab53]421 <term><command>Magick{,++,Core,Wand}-config</command></term>
[db656dd]422 <listitem>
[71c9d11]423 <para>show information about the installed versions of the
[844a44e1]424 <application>ImageMagick</application> libraries.</para>
[db656dd]425 <indexterm zone="imagemagick magick-config">
426 <primary sortas="b-Magick-config">Magick-config</primary>
427 </indexterm>
428 </listitem>
429 </varlistentry>
[fc7afd0c]430
[db656dd]431 <varlistentry id="mogrify">
432 <term><command>mogrify</command></term>
433 <listitem>
434 <para>transforms an image.</para>
435 <indexterm zone="imagemagick mogrify">
436 <primary sortas="b-mogrify">mogrify</primary>
437 </indexterm>
438 </listitem>
439 </varlistentry>
[fc7afd0c]440
[db656dd]441 <varlistentry id="montage">
442 <term><command>montage</command></term>
443 <listitem>
444 <para>composites various images into a new image.</para>
445 <indexterm zone="imagemagick montage">
446 <primary sortas="b-montage">montage</primary>
447 </indexterm>
448 </listitem>
449 </varlistentry>
[fc7afd0c]450
[3eebaa66]451 <varlistentry id="stream">
452 <term><command>stream</command></term>
453 <listitem>
454 <para>streams one or more pixel components of an image or
455 portion of the image to your choice of storage formats.</para>
456 <indexterm zone="imagemagick stream">
457 <primary sortas="b-stream">stream</primary>
458 </indexterm>
459 </listitem>
460 </varlistentry>
461
[db656dd]462 <varlistentry id="wand-config">
463 <term><command>Wand-config</command></term>
464 <listitem>
465 <para>shows the options required to use the Wand library.</para>
466 <indexterm zone="imagemagick wand-config">
467 <primary sortas="b-Wand-config">Wand-config</primary>
468 </indexterm>
469 </listitem>
470 </varlistentry>
[fc7afd0c]471
[db656dd]472 <varlistentry id="perlmagick">
473 <term><filename class='libraryfile'>Image::Magick</filename></term>
474 <listitem>
[8d77de6]475 <para>allows the reading, manipulation and writing of a large number of
[fc7afd0c]476 image file formats using the <application>ImageMagick</application>
[8d77de6]477 library. Run <command>make</command> in the
478 <filename class='directory'>PerlMagick/demo</filename> directory of
[6cc3f39]479 the package source tree after the package is installed to see a nice
480 demo of the module's capabilities.</para>
[db656dd]481 <indexterm zone="imagemagick perlmagick">
482 <primary sortas="g-Image-Magick">Image::Magick</primary>
483 </indexterm>
484 </listitem>
485 </varlistentry>
[fc7afd0c]486
[db656dd]487 </variablelist>
488
489 </sect2>
[f828f6a]490
[b520295]491</sect1>
Note: See TracBrowser for help on using the repository browser.