source: general/genutils/imagemagick.xml@ ee85ab4

10.0 10.1 11.0 11.1 8.2 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 ee85ab4 was ee85ab4, checked in by Ken Moffat <ken@…>, 4 years ago

tags

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

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