source: general/genutils/imagemagick.xml@ cd61a25

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt 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 cd61a25 was cd61a25, checked in by Ken Moffat <ken@…>, 4 years ago

Update to ImageMagick-7.0.10-27.

Also correct my changelog copy+paste entry for dvisvgm-2.10.1.

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

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