source: general/genutils/imagemagick.xml@ a29486e4

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 a29486e4 was a29486e4, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

Update locations of files hosted on anduin

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

  • Property mode set to 100644
File size: 18.4 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">
[8b9ad6e]11 <!ENTITY imagemagick-md5sum "99471c8c3f38c9264faf5c4ca7a31287">
12 <!ENTITY imagemagick-size "7.9 MB">
13 <!ENTITY imagemagick-buildsize "192 MB, with typical dependencies (227 MB with the test suite, reputedly 450 MB with all dependencies)">
14 <!ENTITY imagemagick-time "2.2 SBU - typical build (additional 3.4 SBU to run the test suite and 3.3 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
50 libraries to read, write, and manipulate an image in various image formats.
51 Image processing operations are available from the command line. Bindings
52 for Perl and C++ are also available.
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>
81 The <application>ImageMagick</application> source releases are
82 updated frequently and the version shown above may no longer be available
83 from the download locations. You can download a more recent version and use
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
87 above, or from the <filename class='directory'>legacy/</filename> directory
88 at <literal>ftp.ImageMagick.org/pub/ImageMagick</literal> you can download it
89 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>
102 The optional dependencies listed below should be installed if you
103 need support for the specific format or the conversion tool the dependency
104 provides. Many of the dependencies' capabilities and uses are described in
105 the <quote>MAGICK DELEGATES</quote> section of the
106 <filename>README.txt</filename> file located in the source tree. Additional
107 information about the dependencies can be found in the
108 <filename>Install-unix.txt</filename> file located in the source tree as
109 well as issuing the <command>./configure --help</command> command. A
110 summary of this information, as well as some additional notes can be viewed
111 on-line at <ulink
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>),
[feb1a649]131 <ulink url="ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/profiles.zip">Profiles</ulink>, and
[a257775]132 <ulink url="http://ufraw.sourceforge.net/">ufraw</ulink> (for raw formats listed in
[feb1a649]133 <filename>www/formats.html</filename>)
[744e7e9]134 </para>
135
136 <bridgehead renderas="sect4">Optional Graphics Libraries</bridgehead>
[7f1ab53]137 <para role="optional">
138 <xref linkend="jasper"/>,
139 <xref linkend="lcms"/> or
140 <xref linkend="lcms2"/>,
141 <xref linkend="libexif"/>,
142 <xref linkend="libjpeg"/>,
143 <xref linkend="libpng"/>,
144 <xref linkend="librsvg"/>,
145 <xref linkend="libtiff"/>,
[f4f57ff0]146 <xref linkend="libwebp"/>,
[bd81e201]147 <xref linkend="openjpeg2"/>,
[feb1a649]148 <xref linkend="pango"/>,
149 <ulink url="http://djvu.sourceforge.net/">DjVuLibre</ulink>,
150 <ulink url="ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/">
151 FlashPIX (libfpx)</ulink>,
152 <ulink url="http://www.cl.cam.ac.uk/~mgk25/jbigkit/">JBIG-KIT</ulink>,
153 <ulink url="&gnome-download-http;/libgxps/">libgxps</ulink>,
[7f1ab53]154 <ulink url="http://liblqr.wikidot.com/en:download-page">Liquid Rescale</ulink>,
[bd81e201]155 <ulink url="http://www.openexr.com/">OpenEXR</ulink>, and
[7f1ab53]156 <ulink url="http://www.agocg.ac.uk/train/cgm/ralcgm.htm">RALCGM</ulink>
157 (or <ulink url="http://www.mcmurchy.com/ralcgm/ralcgm-3.51.tar.gz">ralcgm</ulink>)
[744e7e9]158 </para>
159
160 <bridgehead renderas="sect4">Optional Graphics Utilities</bridgehead>
[7f1ab53]161 <para role="optional">
162 <xref linkend="gs"/>,
163 <xref linkend="gimp"/>,
164 <xref linkend="graphviz"/>,
165 <xref linkend="inkscape"/>,
[feb1a649]166 <ulink url="http://www.blender.org/">Blender</ulink>,
167 <ulink url="http://corefonts.sourceforge.net/">corefonts</ulink>,
168 <ulink url="http://dejavu.sourceforge.net/">DejaVu fonts</ulink>,
169 <ulink url="http://www.ghostscript.com/download/gpcldnld.html">GhostPCL</ulink>,
170 <ulink url="http://www.gnuplot.info/">Gnuplot</ulink>,
[7f1ab53]171 <ulink url="http://www.povray.org/">POV-Ray</ulink>, and
[68d5b0e]172 <ulink url="http://www.radiance-online.org/">Radiance</ulink>
[744e7e9]173 </para>
174
175 <bridgehead renderas="sect4">Optional Conversion Tools</bridgehead>
[7f1ab53]176 <para role="optional">
177 <xref linkend="enscript"/>,
[d2da67c]178 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>)
[feb1a649]179 <ulink url="http://autotrace.sourceforge.net/">AutoTrace</ulink>,
[7f1ab53]180 <ulink url="http://www.lizardtech.com/downloads/category/">
181 GeoExpress Command Line Utilities, AKA MrSID Utilities (binary package)</ulink>,
182 <ulink url="http://www.gnu.org/software/hp2xx/">hp2xx</ulink>,
183 <ulink url="http://user.it.uu.se/~jan/html2ps.html">html2ps</ulink>,
184 <ulink url="http://wvware.sourceforge.net/">libwmf</ulink>,
185 <ulink url="http://sk1project.org/modules.php?name=products&amp;product=uniconvertor">
186 UniConvertor</ulink>, and
187 <ulink url="http://www.cs.utah.edu/gdc/projects/urt/">Utah Raster Toolkit</ulink>
188 (or <ulink url="http://www.mcmurchy.com/urt/urt-3.1b.tar.gz">URT-3.1b</ulink>)
[744e7e9]189 </para>
[fc7afd0c]190
[1039de3]191 <para condition="html" role="usernotes">User Notes:
192 <ulink url="&blfs-wiki;/imagemagick"/></para>
193
[db656dd]194 </sect2>
[fc7afd0c]195
[db656dd]196 <sect2 role="installation">
197 <title>Installation of ImageMagick</title>
198
[7f1ab53]199 <para>
[feb1a649]200 Install <application>ImageMagick</application> by running the following commands:
[7f1ab53]201 </para>
[db656dd]202
[7f1ab53]203<screen><userinput>./configure --prefix=/usr \
[844a44e1]204 --sysconfdir=/etc \
[feb1a649]205 --enable-hdri \
[844a44e1]206 --with-modules \
207 --with-perl \
[7f1ab53]208 --disable-static &amp;&amp;
[db656dd]209make</userinput></screen>
[fc7afd0c]210
[7f1ab53]211 <para>
212 Now, as the <systemitem class="username">root</systemitem> user:
213 </para>
[fc7afd0c]214
[9d37710]215<screen role="root"><userinput>make DOCUMENTATION_PATH=/usr/share/doc/imagemagick-&imagemagick-version; install</userinput></screen>
[71c9d11]216
[7f1ab53]217 <para>
[10c82eb]218 To test the installation, issue: <command>make check</command>. A more
219 comprehensive test is the <application>ImageMagick</application>
220 validation suite. If <command>make check</command> has not been executed,
221 run <command>make tests/validate</command> to compile it. Issue
222 <command>tests/validate 2>&amp;1 | tee validate.log</command> to run the
223 validation suite. The result summary may be obtained with <command>grep
224 "validation suite" validate.log</command>. Note that the EPS, PS, and PDF
225 tests require a working <application>Ghostscript</application>. One test
[bf8eb65]226 needs <quote>Helvetica</quote> from <quote>Ghostscript Standard
227 Fonts</quote>, which are optionally installed in <xref linkend="gs"/>.
[7f1ab53]228 </para>
229
[db656dd]230 </sect2>
[fc7afd0c]231
[db656dd]232 <sect2 role="commands">
233 <title>Command Explanations</title>
234
[7f1ab53]235 <para>
[feb1a649]236 <parameter>--enable-hdri</parameter>: Enables building of a
237 high dynamic range version of ImageMagick.
[7f1ab53]238 </para>
239
240 <para>
[feb1a649]241 <parameter>--with-modules</parameter>: Enables support for
242 dynamically loadable modules.
[7f1ab53]243 </para>
244
245 <para>
[feb1a649]246 <parameter>--with-perl</parameter>: Enables building and
247 installing of PerlMagick.
[7f1ab53]248 </para>
249
[bf8eb65]250 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
251 href="../../xincludes/static-libraries.xml"/>
[a44dbcef]252
[7f1ab53]253 <para>
[feb1a649]254 <option>--with-gslib</option>: Enables support to use the
[7f1ab53]255 <application>Ghostscript</application> shared library.
256 </para>
[fc7afd0c]257
[7f1ab53]258 <para>
259 <option>--with-rsvg</option>: Enables support to use the
260 <application>librsvg</application> library.
261 </para>
[844a44e1]262
[7f1ab53]263 <para>
[feb1a649]264 <option>--with-autotrace</option>: Enables support to use
265 the <application>Autotrace</application> library.
[7f1ab53]266 </para>
[844a44e1]267
[7f1ab53]268 <para>
269 <option>--with-wmf</option>: Enables support to use the
270 <application>libwmf</application> library.
271 </para>
[744e7e9]272
[7f1ab53]273 <para>
274 <option>--with-gvc</option>: Enables support to use
275 <application>GraphViz</application>.
276 </para>
[744e7e9]277
[7f1ab53]278 <para>
279 <option>--with-windows-font-dir=
280 <replaceable>&lt;Some/Directory&gt;</replaceable></option>:
281 This option specifies the directory where the Windows CoreFonts are
282 installed.
283 </para>
[744e7e9]284
[7f1ab53]285 <para>
286 <option>--with-dejavu-font-dir=
287 <replaceable>&lt;Some/Directory&gt;</replaceable></option>:
288 This option specifies the directory where the DejaVu fonts are
289 installed.
290 </para>
[744e7e9]291
[7f1ab53]292 <para>
293 The options and parameters listed above are the only ones you should
294 have to pass to the <command>configure</command> script to activate all
295 the delegate dependencies. All other dependencies will be automatically
296 detected and utilized in the build if they are installed.
297 </para>
[71c9d11]298
[db656dd]299 </sect2>
[fc7afd0c]300
[db656dd]301 <sect2 role="content">
302 <title>Contents</title>
303
304 <segmentedlist>
305 <segtitle>Installed Programs</segtitle>
306 <segtitle>Installed Libraries</segtitle>
307 <segtitle>Installed Directories</segtitle>
[fc7afd0c]308
[db656dd]309 <seglistitem>
[feb1a649]310 <seg>
311 animate, compare, composite, conjure, convert, display,
312 identify, import, Magick-config, Magick++-config, MagickCore-config,
313 MagickWand-config, mogrify, montage, stream, and Wand-config
314 </seg>
315 <seg>
[5c3335b5]316 libMagickCore-6.Q16HDRI.so,
[8b9ad6e]317 libMagickWand-6.Q16HDRI.so and
318 libMagick++-6.Q16HDRI.so
[feb1a649]319 </seg>
320 <seg>
321 /etc/ImageMagick-6,
322 /usr/include/ImageMagick-6,
323 /usr/lib/ImageMagick-&imagemagick-version;,
[10c82eb]324 /usr/lib/perl5/site_perl/&lfs-perl-version;/{,auto}/Image/Magick,
[bf8eb65]325 /usr/share/doc/ImageMagick-&imagemagick-version;, and
[10c82eb]326 /usr/share/ImageMagick-6
[feb1a649]327 </seg>
[db656dd]328 </seglistitem>
329 </segmentedlist>
[fc7afd0c]330
[db656dd]331 <variablelist>
332 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
[fc7afd0c]333 <?dbfo list-presentation="list"?>
[db656dd]334 <?dbhtml list-presentation="table"?>
[fc7afd0c]335
[db656dd]336 <varlistentry id="animate">
337 <term><command>animate</command></term>
338 <listitem>
339 <para>animates a sequence of images.</para>
340 <indexterm zone="imagemagick animate">
341 <primary sortas="b-animate">animate</primary>
342 </indexterm>
343 </listitem>
344 </varlistentry>
[fc7afd0c]345
[db656dd]346 <varlistentry id="compare">
347 <term><command>compare</command></term>
348 <listitem>
349 <para>compares an image to a reconstructed image.</para>
350 <indexterm zone="imagemagick compare">
351 <primary sortas="b-compare">compare</primary>
352 </indexterm>
353 </listitem>
354 </varlistentry>
[fc7afd0c]355
[db656dd]356 <varlistentry id="composite">
357 <term><command>composite</command></term>
358 <listitem>
359 <para>composites various images into the given base image.</para>
360 <indexterm zone="imagemagick composite">
361 <primary sortas="b-composite">composite</primary>
362 </indexterm>
363 </listitem>
364 </varlistentry>
[fc7afd0c]365
[db656dd]366 <varlistentry id="conjure">
367 <term><command>conjure</command></term>
368 <listitem>
369 <para>processes a MSL script to create an image.</para>
370 <indexterm zone="imagemagick conjure">
371 <primary sortas="b-conjure">conjure</primary>
372 </indexterm>
373 </listitem>
374 </varlistentry>
[fc7afd0c]375
[db656dd]376 <varlistentry id="convert">
377 <term><command>convert</command></term>
378 <listitem>
379 <para>converts image(s) from one format to another.</para>
380 <indexterm zone="imagemagick convert">
381 <primary sortas="b-convert">convert</primary>
382 </indexterm>
383 </listitem>
384 </varlistentry>
[fc7afd0c]385
[db656dd]386 <varlistentry id="display">
387 <term><command>display</command></term>
388 <listitem>
389 <para>displays an image.</para>
390 <indexterm zone="imagemagick display">
391 <primary sortas="b-display">display</primary>
392 </indexterm>
393 </listitem>
394 </varlistentry>
[fc7afd0c]395
[db656dd]396 <varlistentry id="identify">
397 <term><command>identify</command></term>
398 <listitem>
399 <para>describes the format and characteristics of an image file.</para>
400 <indexterm zone="imagemagick identify">
401 <primary sortas="b-identify">identify</primary>
402 </indexterm>
403 </listitem>
404 </varlistentry>
[fc7afd0c]405
[db656dd]406 <varlistentry id="import">
407 <term><command>import</command></term>
408 <listitem>
409 <para>captures an X window.</para>
410 <indexterm zone="imagemagick import">
411 <primary sortas="b-import">import</primary>
412 </indexterm>
413 </listitem>
414 </varlistentry>
[fc7afd0c]415
[db656dd]416 <varlistentry id="magick-config">
[7f1ab53]417 <term><command>Magick{,++,Core,Wand}-config</command></term>
[db656dd]418 <listitem>
[71c9d11]419 <para>show information about the installed versions of the
[844a44e1]420 <application>ImageMagick</application> libraries.</para>
[db656dd]421 <indexterm zone="imagemagick magick-config">
422 <primary sortas="b-Magick-config">Magick-config</primary>
423 </indexterm>
424 </listitem>
425 </varlistentry>
[fc7afd0c]426
[db656dd]427 <varlistentry id="mogrify">
428 <term><command>mogrify</command></term>
429 <listitem>
430 <para>transforms an image.</para>
431 <indexterm zone="imagemagick mogrify">
432 <primary sortas="b-mogrify">mogrify</primary>
433 </indexterm>
434 </listitem>
435 </varlistentry>
[fc7afd0c]436
[db656dd]437 <varlistentry id="montage">
438 <term><command>montage</command></term>
439 <listitem>
440 <para>composites various images into a new image.</para>
441 <indexterm zone="imagemagick montage">
442 <primary sortas="b-montage">montage</primary>
443 </indexterm>
444 </listitem>
445 </varlistentry>
[fc7afd0c]446
[3eebaa66]447 <varlistentry id="stream">
448 <term><command>stream</command></term>
449 <listitem>
450 <para>streams one or more pixel components of an image or
451 portion of the image to your choice of storage formats.</para>
452 <indexterm zone="imagemagick stream">
453 <primary sortas="b-stream">stream</primary>
454 </indexterm>
455 </listitem>
456 </varlistentry>
457
[db656dd]458 <varlistentry id="wand-config">
459 <term><command>Wand-config</command></term>
460 <listitem>
461 <para>shows the options required to use the Wand library.</para>
462 <indexterm zone="imagemagick wand-config">
463 <primary sortas="b-Wand-config">Wand-config</primary>
464 </indexterm>
465 </listitem>
466 </varlistentry>
[fc7afd0c]467
[db656dd]468 <varlistentry id="perlmagick">
469 <term><filename class='libraryfile'>Image::Magick</filename></term>
470 <listitem>
[8d77de6]471 <para>allows the reading, manipulation and writing of a large number of
[fc7afd0c]472 image file formats using the <application>ImageMagick</application>
[8d77de6]473 library. Run <command>make</command> in the
474 <filename class='directory'>PerlMagick/demo</filename> directory of
[6cc3f39]475 the package source tree after the package is installed to see a nice
476 demo of the module's capabilities.</para>
[db656dd]477 <indexterm zone="imagemagick perlmagick">
478 <primary sortas="g-Image-Magick">Image::Magick</primary>
479 </indexterm>
480 </listitem>
481 </varlistentry>
[fc7afd0c]482
[db656dd]483 </variablelist>
484
485 </sect2>
[f828f6a]486
487</sect1>
Note: See TracBrowser for help on using the repository browser.