source: general/genutils/imagemagick.xml@ f080ae0e

systemd-13485
Last change on this file since f080ae0e was f080ae0e, checked in by Douglas R. Reno <renodr@…>, 8 years ago

Merge to trunk r17352

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@17354 af4574ff-66df-0310-9fd7-8a98e5e911e0

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