source: general/genutils/imagemagick.xml@ 6ccf65b

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 6ccf65b was 6ccf65b, checked in by Krejzi <krejzi@…>, 8 years ago

Imagemagick has http download url.

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

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