source: general/genutils/imagemagick.xml@ 646c89d

10.0 10.1 11.0 11.1 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind lazarus perl-modules qt5new trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since 646c89d was 646c89d, checked in by Ken Moffat <ken@…>, 4 years ago

ImageMagick-7.0.8-10

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

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