source: general/genutils/imagemagick.xml@ ad67ec1

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 8.0 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 nosym 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 ad67ec1 was ad67ec1, checked in by Bruce Dubbs <bdubbs@…>, 8 years ago

Reverted to ImageMagick-6.9.5-8 (latest IM-6 version)

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

  • Property mode set to 100644
File size: 19.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 "8">
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 "a5b7169a295ce90a6aad23f8580d7c65">
12 <!ENTITY imagemagick-size "8.4 MB">
13 <!ENTITY imagemagick-buildsize "142 MB, with typical dependencies (add 31 MB for the test suite)">
14 <!ENTITY imagemagick-time "2.6 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 internal ones. I still got only 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 &lfs7a_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 It looks like old release are still available now
90
91 <note>
92 <para>
93 The <application>ImageMagick</application> source releases are updated
94 frequently and the version shown above may no longer be available from
95 the download locations. You can download a more recent version and use
96 the existing BLFS instructions to install it. Chances are that it will
97 work just fine, but this has not been tested by the BLFS team. If the
98 package version shown above is not available from the locations shown
99 above, or from the <filename class='directory'>legacy/</filename>
100 directory at <literal>ftp.ImageMagick.org/pub/ImageMagick</literal> you
101 can download it from the BLFS package server at <ulink
102 url="&sources-anduin-http;/ImageMagick/ImageMagick-&imagemagick-version;-&imagemagick-patch-version;.tar.xz"/>.
103 </para>
104 </note>
105-->
106 <bridgehead renderas="sect3">ImageMagick Dependencies</bridgehead>
107
108 <bridgehead renderas="sect4">Recommended</bridgehead>
109 <para role="recommended">
110 <xref linkend="xorg7-lib"/>
111 </para>
112
113 <para>
114 The optional dependencies listed below should be installed if you need
115 support for the specific format or the conversion tool the dependency
116 provides. Many of the dependencies' capabilities and uses are described in
117 the <quote>MAGICK DELEGATES</quote> section of the
118 <filename>README.txt</filename> file located in the source tree.
119 Additional information about the dependencies can be found in the
120 <filename>Install-unix.txt</filename> file located in the source tree as
121 well as issuing the <command>./configure --help</command> command. A
122 summary of this information, as well as some additional notes can be
123 viewed on-line at <ulink
124 url="http://www.imagemagick.org/script/advanced-unix-installation.php"/>.
125 </para>
126
127 <bridgehead renderas="sect4">Optional System Utilities</bridgehead>
128 <para role="optional">
129 <xref linkend="cups"/>,
130 <xref linkend="curl"/>,
131 <xref linkend="ffmpeg"/>,
132 <xref linkend="p7zip"/> (LZMA),
133 <xref linkend="sane"/>,
134 <xref linkend="wget"/>,
135 <xref linkend="xdg-utils"/>,
136 <xref linkend="xterm2"/>,
137 <ulink url="http://dmalloc.com/">Dmalloc</ulink>,
138 <ulink url="http://linux.softpedia.com/get/Programming/Debuggers/Electric-Fence-3305.shtml/">Electric Fence</ulink>,
139 <ulink url="http://www.fftw.org/">FFTW</ulink>,
140 <ulink url="http://www.openpgp.org/resources/downloads">PGP</ulink> or
141 <xref linkend="gnupg2"/>
142 (you'll have to do some hacking to use <application>GnuPG</application>),
143 <ulink url="ftp://ftp.imagemagick.org/pub/ImageMagick/delegates">Profiles</ulink>,
144 and
145 <ulink url="http://ufraw.sourceforge.net/">ufraw</ulink> (for raw formats
146 listed in
147 <ulink url="http://www.imagemagick.org/www/formats.html">
148 http://www.imagemagick.org/www/formats.html</ulink>)
149 </para>
150
151 <bridgehead renderas="sect4">Optional Graphics Libraries</bridgehead>
152 <para role="optional">
153 <xref linkend="jasper"/>,
154 <xref linkend="lcms"/> or
155 <xref linkend="lcms2"/>,
156 <xref linkend="libexif"/>,
157 <xref linkend="libjpeg"/>,
158 <xref linkend="libpng"/>,
159 <xref linkend="librsvg"/>,
160 <xref linkend="libtiff"/>,
161 <xref linkend="libwebp"/>,
162 <xref linkend="openjpeg2"/>,
163 <xref linkend="pango"/>,
164 <ulink url="http://djvu.sourceforge.net/">DjVuLibre</ulink>,
165 <ulink url="ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/">
166 FlashPIX (libfpx)</ulink>,
167 <ulink url="https://github.com/FLIF-hub/FLIF/releases">FLIF</ulink>,
168 <ulink url="http://www.cl.cam.ac.uk/~mgk25/jbigkit/">JBIG-KIT</ulink>,
169 <ulink url="&gnome-download-http;/libgxps/">libgxps</ulink>,
170 <ulink url="https://github.com/HOST-Oman/libraqm/">libraqm</ulink>,
171 <ulink url="http://liblqr.wikidot.com/en:download-page">Liquid Rescale</ulink>,
172 <ulink url="http://www.openexr.com/">OpenEXR</ulink>, and
173 <ulink url="http://www.agocg.ac.uk/train/cgm/ralcgm.htm">RALCGM</ulink>
174 (or <ulink url="http://www.mcmurchy.com/ralcgm/ralcgm-3.51.tar.gz">ralcgm</ulink>)
175 </para>
176
177 <bridgehead renderas="sect4">Optional Graphics Utilities</bridgehead>
178 <para role="optional">
179 <xref linkend="gs"/>,
180 <xref linkend="gimp"/>,
181 <xref linkend="graphviz"/>,
182 <xref linkend="inkscape"/>,
183 <ulink url="http://www.blender.org/">Blender</ulink>,
184 <ulink url="http://corefonts.sourceforge.net/">corefonts</ulink>,
185 <ulink url="http://dejavu-fonts.org/wiki/Main_Page/">DejaVu fonts</ulink>,
186 <ulink url="http://www.ghostscript.com/download/gpcldnld.html">GhostPCL</ulink>,
187 <ulink url="http://www.gnuplot.info/">Gnuplot</ulink>,
188 <ulink url="http://www.povray.org/">POV-Ray</ulink>, and
189 <ulink url="http://www.radiance-online.org/">Radiance</ulink>
190 </para>
191
192 <bridgehead renderas="sect4">Optional Conversion Tools</bridgehead>
193 <para role="optional">
194 <xref linkend="enscript"/>,
195 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>)
196 <ulink url="http://autotrace.sourceforge.net/">AutoTrace</ulink>,
197 <ulink url="http://www.lizardtech.com/downloads/category/">
198 GeoExpress Command Line Utilities, AKA MrSID Utilities (binary package)</ulink>,
199 <ulink url="http://www.gnu.org/software/hp2xx/">hp2xx</ulink>,
200 <ulink url="http://user.it.uu.se/~jan/html2ps.html">html2ps</ulink>,
201 <ulink url="http://wvware.sourceforge.net/">libwmf</ulink>,
202 <ulink url="http://sk1project.org/modules.php?name=products&amp;product=uniconvertor">
203 UniConvertor</ulink>, and
204 <ulink url="http://www.cs.utah.edu/gdc/projects/urt/">Utah Raster Toolkit</ulink>
205 (or <ulink url="http://www.mcmurchy.com/urt/urt-3.1b.tar.gz">URT-3.1b</ulink>)
206 </para>
207
208 <para condition="html" role="usernotes">User Notes:
209 <ulink url="&blfs-wiki;/imagemagick"/></para>
210
211 </sect2>
212
213 <sect2 role="installation">
214 <title>Installation of ImageMagick</title>
215
216 <para>
217 Install <application>ImageMagick</application> by running the following
218 commands:
219 </para>
220
221<screen><userinput>sed -i '/seems to be moved/ s/^/true #/' config/ltmain.sh &amp;&amp;
222
223./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 <command>sed ...</command>: Removes a lot of invalid warnings.
259 </para>
260
261 <para>
262 <parameter>--enable-hdri</parameter>: Enables building of a
263 high dynamic range version of ImageMagick.
264 </para>
265
266 <para>
267 <parameter>--with-modules</parameter>: Enables support for
268 dynamically loadable modules.
269 </para>
270
271 <para>
272 <parameter>--with-perl</parameter>: Enables building and
273 installing of PerlMagick.
274 </para>
275
276 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
277 href="../../xincludes/static-libraries.xml"/>
278
279 <para>
280 <option>--with-gslib</option>: Enables support to use the
281 <application>Ghostscript</application> shared library.
282 </para>
283
284 <para>
285 <option>--with-rsvg</option>: Enables support to use the
286 <application>librsvg</application> library.
287 </para>
288
289 <para>
290 <option>--with-autotrace</option>: Enables support to use
291 the <application>Autotrace</application> library.
292 </para>
293
294 <para>
295 <option>--with-wmf</option>: Enables support to use the
296 <application>libwmf</application> library.
297 </para>
298
299 <para>
300 <option>--with-gvc</option>: Enables support to use
301 <application>GraphViz</application>.
302 </para>
303
304 <para>
305 <option>--with-windows-font-dir=
306 <replaceable>&lt;Some/Directory&gt;</replaceable></option>:
307 This option specifies the directory where the Windows CoreFonts are
308 installed.
309 </para>
310
311 <para>
312 <option>--with-dejavu-font-dir=
313 <replaceable>&lt;Some/Directory&gt;</replaceable></option>:
314 This option specifies the directory where the DejaVu fonts are
315 installed.
316 </para>
317
318 <para>
319 The options and parameters listed above are the only ones you should
320 have to pass to the <command>configure</command> script to activate all
321 the delegate dependencies. All other dependencies will be automatically
322 detected and utilized in the build if they are installed.
323 </para>
324
325 </sect2>
326
327 <sect2 role="content">
328 <title>Contents</title>
329
330 <segmentedlist>
331 <segtitle>Installed Programs</segtitle>
332 <segtitle>Installed Libraries</segtitle>
333 <segtitle>Installed Directories</segtitle>
334
335 <seglistitem>
336 <seg>
337 magick, Magick++-config, MagickCore-config, and MagickWand-config.
338 (animate, compare, composite, conjure, convert, display,
339 identify, import, magick-script, mogrify, montage, and stream
340 are all symbolic links to magick)
341 </seg>
342 <seg>
343 libMagickCore-7.Q16HDRI.so,
344 libMagickWand-7.Q16HDRI.so and
345 libMagick++-7.Q16HDRI.so
346 </seg>
347 <seg>
348 /etc/ImageMagick-7,
349 /usr/include/ImageMagick-7,
350 /usr/lib/ImageMagick-&imagemagick-version;,
351 /usr/lib/perl5/site_perl/&lfs-perl-version;/$(uname -m)-linux/{,auto}/Image/Magick,
352 /usr/share/doc/ImageMagick-&imagemagick-version;, and
353 /usr/share/ImageMagick-7
354 </seg>
355 </seglistitem>
356 </segmentedlist>
357
358 <variablelist>
359 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
360 <?dbfo list-presentation="list"?>
361 <?dbhtml list-presentation="table"?>
362
363 <varlistentry id="animate">
364 <term><command>animate</command></term>
365 <listitem>
366 <para>animates a sequence of images.</para>
367 <indexterm zone="imagemagick animate">
368 <primary sortas="b-animate">animate</primary>
369 </indexterm>
370 </listitem>
371 </varlistentry>
372
373 <varlistentry id="compare">
374 <term><command>compare</command></term>
375 <listitem>
376 <para>compares an image to a reconstructed image.</para>
377 <indexterm zone="imagemagick compare">
378 <primary sortas="b-compare">compare</primary>
379 </indexterm>
380 </listitem>
381 </varlistentry>
382
383 <varlistentry id="composite">
384 <term><command>composite</command></term>
385 <listitem>
386 <para>composites various images into the given base image.</para>
387 <indexterm zone="imagemagick composite">
388 <primary sortas="b-composite">composite</primary>
389 </indexterm>
390 </listitem>
391 </varlistentry>
392
393 <varlistentry id="conjure">
394 <term><command>conjure</command></term>
395 <listitem>
396 <para>processes a MSL script to create an image.</para>
397 <indexterm zone="imagemagick conjure">
398 <primary sortas="b-conjure">conjure</primary>
399 </indexterm>
400 </listitem>
401 </varlistentry>
402
403 <varlistentry id="convert">
404 <term><command>convert</command></term>
405 <listitem>
406 <para>converts image(s) from one format to another.</para>
407 <indexterm zone="imagemagick convert">
408 <primary sortas="b-convert">convert</primary>
409 </indexterm>
410 </listitem>
411 </varlistentry>
412
413 <varlistentry id="display">
414 <term><command>display</command></term>
415 <listitem>
416 <para>displays an image.</para>
417 <indexterm zone="imagemagick display">
418 <primary sortas="b-display">display</primary>
419 </indexterm>
420 </listitem>
421 </varlistentry>
422
423 <varlistentry id="identify">
424 <term><command>identify</command></term>
425 <listitem>
426 <para>describes the format and characteristics of an image file.</para>
427 <indexterm zone="imagemagick identify">
428 <primary sortas="b-identify">identify</primary>
429 </indexterm>
430 </listitem>
431 </varlistentry>
432
433 <varlistentry id="import">
434 <term><command>import</command></term>
435 <listitem>
436 <para>captures an X window.</para>
437 <indexterm zone="imagemagick import">
438 <primary sortas="b-import">import</primary>
439 </indexterm>
440 </listitem>
441 </varlistentry>
442
443 <varlistentry id="magick-config">
444 <term><command>Magick{++,Core,Wand}-config</command></term>
445 <listitem>
446 <para>show information about the installed versions of the
447 <application>ImageMagick</application> libraries.</para>
448 <indexterm zone="imagemagick magick-config">
449 <primary sortas="b-Magick-config">Magick-config</primary>
450 </indexterm>
451 </listitem>
452 </varlistentry>
453
454 <varlistentry id="mogrify">
455 <term><command>mogrify</command></term>
456 <listitem>
457 <para>transforms an image.</para>
458 <indexterm zone="imagemagick mogrify">
459 <primary sortas="b-mogrify">mogrify</primary>
460 </indexterm>
461 </listitem>
462 </varlistentry>
463
464 <varlistentry id="montage">
465 <term><command>montage</command></term>
466 <listitem>
467 <para>composites various images into a new image.</para>
468 <indexterm zone="imagemagick montage">
469 <primary sortas="b-montage">montage</primary>
470 </indexterm>
471 </listitem>
472 </varlistentry>
473
474 <varlistentry id="stream">
475 <term><command>stream</command></term>
476 <listitem>
477 <para>streams one or more pixel components of an image or
478 portion of the image to your choice of storage formats.</para>
479 <indexterm zone="imagemagick stream">
480 <primary sortas="b-stream">stream</primary>
481 </indexterm>
482 </listitem>
483 </varlistentry>
484
485 <varlistentry id="perlmagick">
486 <term><filename class='libraryfile'>Image::Magick</filename></term>
487 <listitem>
488 <para>allows the reading, manipulation and writing of a large number of
489 image file formats using the <application>ImageMagick</application>
490 library. Run <command>make</command> in the
491 <filename class='directory'>PerlMagick/demo</filename> directory of
492 the package source tree after the package is installed to see a nice
493 demo of the module's capabilities.</para>
494 <indexterm zone="imagemagick perlmagick">
495 <primary sortas="g-Image-Magick">Image::Magick</primary>
496 </indexterm>
497 </listitem>
498 </varlistentry>
499
500 </variablelist>
501
502 </sect2>
503
504</sect1>
Note: See TracBrowser for help on using the repository browser.