source: general/genutils/imagemagick.xml@ 142f958b

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 142f958b was 142f958b, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

ImageMagick-6.8.9-0, nmap-6.45, gtk+-3.12.1, gvfs-1.20.1 and bluez-5.18. Add fc-cache to instructions for font install in ghostscript-9.14.

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

  • Property mode set to 100644
File size: 20.8 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 "0">
8 <!-- Not sure what to do here as ImageMagick is one of the fastest-moving
9 targets in all of open-source. One solution is to always use the last
10 version of a specific major-minor from the 'legacy' subdirectory of
11 the path in these URL's. Otherwise these links are broken within days
12 after updates :-( Unfortunately, versions always roll on after patch
13 version 10, whether or not significant changes occur, and it takes
14 time before versions migrate to legacy/ -->
15
16 <!ENTITY imagemagick-download-http " ">
17 <!ENTITY imagemagick-download-ftp "ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-&imagemagick-version;-&imagemagick-patch-version;.tar.xz">
18 <!ENTITY imagemagick-md5sum "d89b4b5db15cf8fb1486cec1067244ae">
19 <!ENTITY imagemagick-size "7.2 MB">
20 <!ENTITY imagemagick-buildsize "158 MB (with typical dependencies, additional 29 MB to run the test suite, reputedly 450 MB with all dependencies)">
21 <!ENTITY imagemagick-time "2.5 SBU (typical build - additional 7.1 SBU to run the test suite and 11 SBU to run the validation suite)">
22]>
23
24<!-- Editors: It is highly unlikely that the buildsize (disk space used) will
25 be less than the figure shown above. Unless you have installed *all* the
26 delegate dependencies, you will see a smaller buildsize, but what is
27 currently listed above is the space one would require if all the
28 dependencies are installed, which is what we want.
29
30 Marked as 'typical' because nobody builds ALL the optional extras [ken]
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 Also, please look over the output from the configure command for any
35 additional dependencies that need to be listed, as ImageMagick is
36 constantly adding additional features and dependencies. -->
37
38
39<sect1 id="imagemagick"
40xreflabel="ImageMagick-&imagemagick-version;-&imagemagick-patch-version;">
41 <?dbhtml filename="imagemagick.html"?>
42
43 <sect1info>
44 <othername>$LastChangedBy$</othername>
45 <date>$Date$</date>
46 </sect1info>
47
48 <title>ImageMagick-&imagemagick-version;-&imagemagick-patch-version;</title>
49
50 <indexterm zone="imagemagick">
51 <primary sortas="a-ImageMagick">ImageMagick</primary>
52 </indexterm>
53
54 <sect2 role="package">
55 <title>Introduction to ImageMagick</title>
56
57 <para>
58 <application>ImageMagick</application> is a collection of tools and
59 libraries to read, write, and manipulate an image in various image formats.
60 Image processing operations are available from the command line. Bindings
61 for Perl and C++ are also available.
62 </para>
63
64 &lfs75_checked;
65
66 <bridgehead renderas="sect3">Package Information</bridgehead>
67 <itemizedlist spacing="compact">
68 <listitem>
69 <para>Download (HTTP): <ulink url="&imagemagick-download-http;"/></para>
70 </listitem>
71 <listitem>
72 <para>Download (FTP): <ulink url="&imagemagick-download-ftp;"/></para>
73 </listitem>
74 <listitem>
75 <para>Download MD5 sum: &imagemagick-md5sum;</para>
76 </listitem>
77 <listitem>
78 <para>Download size: &imagemagick-size;</para>
79 </listitem>
80 <listitem>
81 <para>Estimated disk space required: &imagemagick-buildsize;</para>
82 </listitem>
83 <listitem>
84 <para>Estimated build time: &imagemagick-time;</para>
85 </listitem>
86 </itemizedlist>
87
88 <note>
89 <para>
90 The <application>ImageMagick</application> source releases are
91 updated frequently and the version shown above may no longer be available
92 from the download locations. You can download a more recent version and use
93 the existing BLFS instructions to install it. Chances are that it will
94 work just fine, but this has not been tested by the BLFS team. If the
95 package version shown above is not available from the locations shown
96 above, or from the <filename class='directory'>legacy/</filename> directory
97 at <literal>ftp.ImageMagick.org/pub/ImageMagick</literal> you can download it
98 from the BLFS package server at <ulink
99 url="&sources-anduin-http;/i/ImageMagick-&imagemagick-version;-&imagemagick-patch-version;.tar.xz"/>.
100 </para>
101 </note>
102
103 <bridgehead renderas="sect3">ImageMagick Dependencies</bridgehead>
104
105 <bridgehead renderas="sect4">Recommended</bridgehead>
106 <para role="recommended">
107 <xref linkend="x-window-system"/>
108 </para>
109
110 <para>
111 The optional dependencies listed below should be installed if you
112 need support for the specific format or the conversion tool the dependency
113 provides. Many of the dependencies' capabilities and uses are described in
114 the <quote>MAGICK DELEGATES</quote> section of the
115 <filename>README.txt</filename> file located in the source tree. Additional
116 information about the dependencies can be found in the
117 <filename>Install-unix.txt</filename> file located in the source tree as
118 well as issuing the <command>./configure --help</command> command. A
119 summary of this information, as well as some additional notes can be viewed
120 on-line at <ulink
121 url="http://www.imagemagick.org/script/advanced-unix-installation.php"/>.
122 </para>
123
124 <bridgehead renderas="sect4">Optional System Utilities</bridgehead>
125 <para role="optional">
126 <xref linkend="cups"/>,
127 <xref linkend="curl"/>,
128 <ulink url="http://dmalloc.com/">Dmalloc</ulink>,
129 <ulink url="http://linux.softpedia.com/get/Programming/Debuggers/Electric-Fence-3305.shtml/">Electric Fence</ulink>,
130 <xref linkend="ffmpeg"/>,
131 <ulink url="http://www.fftw.org/">FFTW</ulink>,
132 <ulink url="http://www.mupdf.com/">MuPDF</ulink>,
133<!-- <ulink url="http://www.gsp.com/support/virtual/email/pgp/">PGP</ulink> or -->
134 <ulink url="http://www.openpgp.org/resources/downloads">PGP</ulink> or
135 <xref linkend="gnupg2"/>
136 (you'll have to do some hacking to use <application>GnuPG</application>),
137 <ulink url="ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/profiles.zip">Profiles</ulink>,
138 <xref linkend="sane"/>,
139 <ulink url="http://ufraw.sourceforge.net/">ufraw</ulink> (for raw formats listed in
140 <filename>www/formats.html</filename>),
141 <xref linkend="wget"/>, and
142 <xref linkend="xdg-utils"/>
143 </para>
144
145 <bridgehead renderas="sect4">Optional Graphics Libraries</bridgehead>
146 <para role="optional">
147 <ulink url="http://corefonts.sourceforge.net/">corefonts</ulink>,
148 <ulink url="http://djvu.sourceforge.net/">DjVuLibre</ulink>,
149 <!-- <ulink url="http://www.i3a.org/i_flashpix.html">FlashPIX</ulink> (or -->
150 <ulink url="ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/">
151 FlashPIX (libfpx)</ulink>,
152 <!-- Added already from the Xorg recommended dependency <xref linkend="freetype2"/>, -->
153 <xref linkend="jasper"/>,
154 <ulink url="http://www.cl.cam.ac.uk/~mgk25/jbigkit/">JBIG-KIT</ulink>,
155 <xref linkend="lcms"/> or
156 <xref linkend="lcms2"/>,
157 <xref linkend="libexif"/>,
158 <xref linkend="libjpeg"/>,
159 <xref linkend="libpng"/>,
160 <xref linkend="librsvg"/>,
161 <xref linkend="libtiff"/>,
162 <xref linkend="libwebp"/>,
163 <ulink url="http://liblqr.wikidot.com/en:download-page">Liquid Rescale</ulink>,
164 <ulink url="http://www.openexr.com/">OpenEXR</ulink>,
165 <xref linkend="openjpeg"/>,
166 <xref linkend="pango"/>, and
167 <ulink url="http://www.agocg.ac.uk/train/cgm/ralcgm.htm">RALCGM</ulink>
168 (or <ulink url="http://www.mcmurchy.com/ralcgm/ralcgm-3.51.tar.gz">ralcgm</ulink>)
169 </para>
170
171 <bridgehead renderas="sect4">Optional Graphics Utilities</bridgehead>
172 <para role="optional">
173 <ulink url="http://www.blender.org/">Blender</ulink>,
174 <ulink url="http://dejavu.sourceforge.net/">DejaVu fonts</ulink>,
175 <ulink url="http://www.ghostscript.com/download/gpcldnld.html">GhostPCL</ulink> or
176 <ulink url="http://www.ghostscript.com/download/gpdldnld.html">GhostPDL</ulink>,
177 <xref linkend="gs"/>,
178 <xref linkend="gimp"/>,
179 <ulink url="http://www.gnuplot.info/">Gnuplot</ulink>,
180 <xref linkend="graphviz"/>,
181 <xref linkend="inkscape"/>,
182 <ulink url="http://www.povray.org/">POV-Ray</ulink>, and
183 <ulink url="http://radsite.lbl.gov/radiance/HOME.html">Radiance</ulink>
184 </para>
185
186 <bridgehead renderas="sect4">Optional Conversion Tools</bridgehead>
187 <para role="optional">
188 <ulink url="http://autotrace.sourceforge.net/">AutoTrace</ulink>,
189 <xref linkend="enscript"/>,
190 <ulink url="http://www.lizardtech.com/downloads/category/">
191 GeoExpress Command Line Utilities, AKA MrSID Utilities (binary package)</ulink>,
192 <ulink url="http://www.gnu.org/software/hp2xx/">hp2xx</ulink>,
193 <ulink url="http://user.it.uu.se/~jan/html2ps.html">html2ps</ulink>,
194 <ulink url="http://wvware.sourceforge.net/">libwmf</ulink>,
195 <ulink url="http://www.mpeg.org/MSSG/">MPEG-2 Video Codec</ulink>,
196 <ulink url="http://netpbm.sourceforge.net/">Netpbm</ulink>,
197 <xref linkend="texlive"/>,
198 <ulink url="http://www.xfig.org/">Transfig</ulink>,
199 <!-- <ulink url="http://txt2html.sourceforge.net/">txt2html</ulink>
200 (requires Perl Module
201 <ulink url="http://cpan.org/authors/id/J/JS/JSTENZEL/Getopt-ArgvFile-1.11.tar.gz">
202 Getopt::ArgvFile</ulink>), and -->
203 <ulink url="http://sk1project.org/modules.php?name=products&amp;product=uniconvertor">
204 UniConvertor</ulink>, and
205 <ulink url="http://www.cs.utah.edu/gdc/projects/urt/">Utah Raster Toolkit</ulink>
206 (or <ulink url="http://www.mcmurchy.com/urt/urt-3.1b.tar.gz">URT-3.1b</ulink>)
207 </para>
208
209 <para condition="html" role="usernotes">User Notes:
210 <ulink url="&blfs-wiki;/imagemagick"/></para>
211
212 </sect2>
213
214 <sect2 role="installation">
215 <title>Installation of ImageMagick</title>
216
217 <para>
218 Install <application>Imagemagick</application> by running the following commands:
219 </para>
220
221<!-- <note><para>
222 If Xorg is not installed in user, add the entry LDFLAGS=-L$XORG_PREFIX/lib
223 to the configure line.
224 </para></note>
225-->
226<screen><userinput>./configure --prefix=/usr \
227 --sysconfdir=/etc \
228 --with-modules \
229 --with-perl \
230 --disable-static &amp;&amp;
231make</userinput></screen>
232
233 <para>
234 Now, as the <systemitem class="username">root</systemitem> user:
235 </para>
236
237<screen role="root"><userinput>make install</userinput></screen>
238
239 <para>
240 To test the installation, issue: <command>make check</command>. For a more
241 comprehensive test, run the <application>ImageMagick</application>
242 validation suite, also after the package is installed. Note that the EPS,
243 PS, and PDF tests require a working
244 <application>Ghostscript</application>. One test needs "Helvetica" from
245 "Standard Fonts" which are optionally installed in <xref linkend="gs"/>.
246 </para>
247
248 <!-- This is not necessary as the 'make install' process installs PerlMagick
249 <para>
250 And, if you built PerlMagick, still as the
251 <systemitem class="username">root</systemitem> user:</para>
252
253<screen role="root"><userinput>make -C PerlMagick install</userinput></screen>
254 -->
255
256 <!-- Commenting this out for now as it is redundant to information
257 that has already been presented, or is in the 'command explanations'
258 section below.
259 <sect3>
260 <title>Additional Configure Options</title>
261
262 <para>There are additional switches that can be passed to
263 <application>ImageMagick</application> to customize the installation to
264 your needs. See <filename>advanced-unix-installation.html</filename> in
265 the <filename class='directory'>www</filename> directory.</para>
266
267 </sect3>
268 -->
269
270 </sect2>
271
272 <sect2 role="commands">
273 <title>Command Explanations</title>
274
275 <para>
276 <parameter>--sysconfdir=/etc</parameter>: Install the
277 <filename class="extension">.xml</filename> configuration files into
278 <filename class='directory'>/etc/ImageMagick</filename> instead of the
279 default <filename class='directory'>/usr/etc/ImageMagick</filename>.
280 </para>
281
282 <para>
283 <parameter>--with-modules</parameter>: Enables support for dynamically
284 loadable modules.
285 </para>
286
287 <para>
288 <parameter>--with-perl</parameter>: Enables building and installing
289 PerlMagick.
290 </para>
291
292 <para>
293 <parameter>--disable-static</parameter>: Prevents the static
294 libraries being built and installed.
295 </para>
296
297 <!-- The tests run fine if you run the validation suite after the package
298 is installed
299 <para>
300 <parameter>-without-magick-plus-plus</parameter>: Disables building
301 and installing Magick++. All the test modules and demos for Magick++
302 currently fail.
303 </para>
304 -->
305
306 <para>
307 <option>--with-gslib=/usr/lib</option>: Enables support to use the
308 <application>Ghostscript</application> shared library.
309 </para>
310
311 <para>
312 <option>--with-rsvg</option>: Enables support to use the
313 <application>librsvg</application> library.
314 </para>
315
316 <para>
317 <option>--with-autotrace</option>: Enables support to use the
318 <application>Autotrace</application> library.
319 </para>
320
321 <para>
322 <option>--with-wmf</option>: Enables support to use the
323 <application>libwmf</application> library.
324 </para>
325
326 <para>
327 <option>--with-gvc</option>: Enables support to use
328 <application>GraphViz</application>.
329 </para>
330
331 <para>
332 <option>--with-windows-font-dir=
333 <replaceable>&lt;Some/Directory&gt;</replaceable></option>:
334 This option specifies the directory where the Windows CoreFonts are
335 installed.
336 </para>
337
338 <para>
339 <option>--with-dejavu-font-dir=
340 <replaceable>&lt;Some/Directory&gt;</replaceable></option>:
341 This option specifies the directory where the DejaVu fonts are
342 installed.
343 </para>
344
345 <para>
346 The options and parameters listed above are the only ones you should
347 have to pass to the <command>configure</command> script to activate all
348 the delegate dependencies. All other dependencies will be automatically
349 detected and utilized in the build if they are installed.
350 </para>
351
352 </sect2>
353
354 <sect2 role="content">
355 <title>Contents</title>
356
357 <segmentedlist>
358 <segtitle>Installed Programs</segtitle>
359 <segtitle>Installed Libraries</segtitle>
360 <segtitle>Installed Directories</segtitle>
361
362 <seglistitem>
363 <seg>animate, compare, composite, conjure, convert, display,
364 identify, import, Magick-config, Magick++-config, MagickCore-config,
365 MagickWand-config, mogrify, montage, stream, and Wand-config</seg>
366
367 <seg>libMagickCore-6.Q16.so, libMagickWand-6.Q16.so,
368 libMagick++-6.Q16.so,
369 numerous modules under
370 /usr/lib/ImageMagick-&imagemagick-version;/modules-Q16/{coders,filters}/,
371 /usr/lib/perl5/site_perl/&lfs-perl-version;/auto/Image/Magick/Magick.so, and
372 /usr/lib/perl5/site_perl/&lfs-perl-version;/auto/Image/Magick/Q16/Q16.so</seg>
373
374 <seg>/etc/ImageMagick-6,
375 /usr/include/ImageMagick-6,
376 /usr/lib/ImageMagick-&imagemagick-version;,
377 /usr/lib/perl5/site_perl/&lfs-perl-version;/auto/Image,
378 /usr/lib/perl5/site_perl/&lfs-perl-version;/Image,
379 /usr/share/ImageMagick-6 and
380 /usr/share/doc/ImageMagick-6</seg>
381 </seglistitem>
382 </segmentedlist>
383
384 <variablelist>
385 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
386 <?dbfo list-presentation="list"?>
387 <?dbhtml list-presentation="table"?>
388
389 <varlistentry id="animate">
390 <term><command>animate</command></term>
391 <listitem>
392 <para>animates a sequence of images.</para>
393 <indexterm zone="imagemagick animate">
394 <primary sortas="b-animate">animate</primary>
395 </indexterm>
396 </listitem>
397 </varlistentry>
398
399 <varlistentry id="compare">
400 <term><command>compare</command></term>
401 <listitem>
402 <para>compares an image to a reconstructed image.</para>
403 <indexterm zone="imagemagick compare">
404 <primary sortas="b-compare">compare</primary>
405 </indexterm>
406 </listitem>
407 </varlistentry>
408
409 <varlistentry id="composite">
410 <term><command>composite</command></term>
411 <listitem>
412 <para>composites various images into the given base image.</para>
413 <indexterm zone="imagemagick composite">
414 <primary sortas="b-composite">composite</primary>
415 </indexterm>
416 </listitem>
417 </varlistentry>
418
419 <varlistentry id="conjure">
420 <term><command>conjure</command></term>
421 <listitem>
422 <para>processes a MSL script to create an image.</para>
423 <indexterm zone="imagemagick conjure">
424 <primary sortas="b-conjure">conjure</primary>
425 </indexterm>
426 </listitem>
427 </varlistentry>
428
429 <varlistentry id="convert">
430 <term><command>convert</command></term>
431 <listitem>
432 <para>converts image(s) from one format to another.</para>
433 <indexterm zone="imagemagick convert">
434 <primary sortas="b-convert">convert</primary>
435 </indexterm>
436 </listitem>
437 </varlistentry>
438
439 <varlistentry id="display">
440 <term><command>display</command></term>
441 <listitem>
442 <para>displays an image.</para>
443 <indexterm zone="imagemagick display">
444 <primary sortas="b-display">display</primary>
445 </indexterm>
446 </listitem>
447 </varlistentry>
448
449 <varlistentry id="identify">
450 <term><command>identify</command></term>
451 <listitem>
452 <para>describes the format and characteristics of an image file.</para>
453 <indexterm zone="imagemagick identify">
454 <primary sortas="b-identify">identify</primary>
455 </indexterm>
456 </listitem>
457 </varlistentry>
458
459 <varlistentry id="import">
460 <term><command>import</command></term>
461 <listitem>
462 <para>captures an X window.</para>
463 <indexterm zone="imagemagick import">
464 <primary sortas="b-import">import</primary>
465 </indexterm>
466 </listitem>
467 </varlistentry>
468
469 <varlistentry id="magick-config">
470 <term><command>Magick{,++,Core,Wand}-config</command></term>
471 <listitem>
472 <para>show information about the installed versions of the
473 <application>ImageMagick</application> libraries.</para>
474 <indexterm zone="imagemagick magick-config">
475 <primary sortas="b-Magick-config">Magick-config</primary>
476 </indexterm>
477 </listitem>
478 </varlistentry>
479
480 <varlistentry id="mogrify">
481 <term><command>mogrify</command></term>
482 <listitem>
483 <para>transforms an image.</para>
484 <indexterm zone="imagemagick mogrify">
485 <primary sortas="b-mogrify">mogrify</primary>
486 </indexterm>
487 </listitem>
488 </varlistentry>
489
490 <varlistentry id="montage">
491 <term><command>montage</command></term>
492 <listitem>
493 <para>composites various images into a new image.</para>
494 <indexterm zone="imagemagick montage">
495 <primary sortas="b-montage">montage</primary>
496 </indexterm>
497 </listitem>
498 </varlistentry>
499
500 <varlistentry id="stream">
501 <term><command>stream</command></term>
502 <listitem>
503 <para>streams one or more pixel components of an image or
504 portion of the image to your choice of storage formats.</para>
505 <indexterm zone="imagemagick stream">
506 <primary sortas="b-stream">stream</primary>
507 </indexterm>
508 </listitem>
509 </varlistentry>
510
511 <varlistentry id="wand-config">
512 <term><command>Wand-config</command></term>
513 <listitem>
514 <para>shows the options required to use the Wand library.</para>
515 <indexterm zone="imagemagick wand-config">
516 <primary sortas="b-Wand-config">Wand-config</primary>
517 </indexterm>
518 </listitem>
519 </varlistentry>
520
521 <varlistentry id="perlmagick">
522 <term><filename class='libraryfile'>Image::Magick</filename></term>
523 <listitem>
524 <para>allows the reading, manipulation and writing of a large number of
525 image file formats using the <application>ImageMagick</application>
526 library. Run <command>make</command> in the
527 <filename class='directory'>PerlMagick/demo</filename> directory of
528 the package source tree after the package is installed to see a nice
529 demo of the module's capabilities.</para>
530 <indexterm zone="imagemagick perlmagick">
531 <primary sortas="g-Image-Magick">Image::Magick</primary>
532 </indexterm>
533 </listitem>
534 </varlistentry>
535
536 </variablelist>
537
538 </sect2>
539
540</sect1>
Note: See TracBrowser for help on using the repository browser.