source: general/genutils/imagemagick.xml@ 9f9770b

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 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 9f9770b was 9f9770b, checked in by Pierre Labastie <pieere@…>, 7 years ago

Fix imagemagick md5sum

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

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