source: general/genutils/imagemagick.xml@ ab479cda

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 ab479cda was ab479cda, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

libtasn1-3.6, ImageMagick-6.8.9-1 and webkitgtk-2.4.3. Fix to Doxygen-1.8.7.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@13177 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 "1">
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 "bde038ae05fb20d29cebf88ab9cbdce5">
19 <!ENTITY imagemagick-size "7.2 MB">
20 <!ENTITY imagemagick-buildsize "147 MB (with typical dependencies, additional 25 MB to run the test suite, reputedly 450 MB with all dependencies)">
21 <!ENTITY imagemagick-time "2.5 SBU (typical build - additional 8.1 SBU to run the test suite and 15 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 <xref linkend="p7zip"/> (LZMA),
138 <ulink url="ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/profiles.zip">Profiles</ulink>,
139 <xref linkend="sane"/>,
140 <ulink url="http://ufraw.sourceforge.net/">ufraw</ulink> (for raw formats listed in
141 <filename>www/formats.html</filename>),
142 <xref linkend="wget"/>, and
143 <xref linkend="xdg-utils"/>
144 </para>
145
146 <bridgehead renderas="sect4">Optional Graphics Libraries</bridgehead>
147 <para role="optional">
148 <ulink url="http://corefonts.sourceforge.net/">corefonts</ulink>,
149 <ulink url="http://djvu.sourceforge.net/">DjVuLibre</ulink>,
150 <!-- <ulink url="http://www.i3a.org/i_flashpix.html">FlashPIX</ulink> (or -->
151 <ulink url="ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/">
152 FlashPIX (libfpx)</ulink>,
153 <!-- Added already from the Xorg recommended dependency <xref linkend="freetype2"/>, -->
154 <xref linkend="jasper"/>,
155 <ulink url="http://www.cl.cam.ac.uk/~mgk25/jbigkit/">JBIG-KIT</ulink>,
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 <ulink url="http://liblqr.wikidot.com/en:download-page">Liquid Rescale</ulink>,
165 <ulink url="http://www.openexr.com/">OpenEXR</ulink>,
166 <xref linkend="openjpeg"/>,
167 <xref linkend="pango"/>, and
168 <ulink url="http://www.agocg.ac.uk/train/cgm/ralcgm.htm">RALCGM</ulink>
169 (or <ulink url="http://www.mcmurchy.com/ralcgm/ralcgm-3.51.tar.gz">ralcgm</ulink>)
170 </para>
171
172 <bridgehead renderas="sect4">Optional Graphics Utilities</bridgehead>
173 <para role="optional">
174 <ulink url="http://www.blender.org/">Blender</ulink>,
175 <ulink url="http://dejavu.sourceforge.net/">DejaVu fonts</ulink>,
176 <ulink url="http://www.ghostscript.com/download/gpcldnld.html">GhostPCL</ulink> or
177 <ulink url="http://www.ghostscript.com/download/gpdldnld.html">GhostPDL</ulink>,
178 <xref linkend="gs"/>,
179 <xref linkend="gimp"/>,
180 <ulink url="http://www.gnuplot.info/">Gnuplot</ulink>,
181 <xref linkend="graphviz"/>,
182 <xref linkend="inkscape"/>,
183 <ulink url="http://www.povray.org/">POV-Ray</ulink>, and
184 <ulink url="http://radsite.lbl.gov/radiance/HOME.html">Radiance</ulink>
185 </para>
186
187 <bridgehead renderas="sect4">Optional Conversion Tools</bridgehead>
188 <para role="optional">
189 <ulink url="http://autotrace.sourceforge.net/">AutoTrace</ulink>,
190 <xref linkend="enscript"/>,
191 <ulink url="http://www.lizardtech.com/downloads/category/">
192 GeoExpress Command Line Utilities, AKA MrSID Utilities (binary package)</ulink>,
193 <ulink url="http://www.gnu.org/software/hp2xx/">hp2xx</ulink>,
194 <ulink url="http://user.it.uu.se/~jan/html2ps.html">html2ps</ulink>,
195 <ulink url="http://wvware.sourceforge.net/">libwmf</ulink>,
196 <ulink url="http://www.mpeg.org/MSSG/">MPEG-2 Video Codec</ulink>,
197 <ulink url="http://netpbm.sourceforge.net/">Netpbm</ulink>,
198 <xref linkend="texlive"/>,
199 <ulink url="http://www.xfig.org/">Transfig</ulink>,
200 <!-- <ulink url="http://txt2html.sourceforge.net/">txt2html</ulink>
201 (requires Perl Module
202 <ulink url="http://cpan.org/authors/id/J/JS/JSTENZEL/Getopt-ArgvFile-1.11.tar.gz">
203 Getopt::ArgvFile</ulink>), and -->
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 commands:
220 </para>
221
222<!-- <note><para>
223 If Xorg is not installed in user, add the entry LDFLAGS=-L$XORG_PREFIX/lib
224 to the configure line.
225 </para></note>
226-->
227<screen><userinput>./configure --prefix=/usr \
228 --sysconfdir=/etc \
229 --with-modules \
230 --with-perl \
231 --disable-static &amp;&amp;
232make</userinput></screen>
233
234 <para>
235 Now, as the <systemitem class="username">root</systemitem> user:
236 </para>
237
238<screen role="root"><userinput>make install</userinput></screen>
239
240 <para>
241 To test the installation, issue: <command>make check</command>. For a more
242 comprehensive test, run the <application>ImageMagick</application>
243 validation suite, also after the package is installed. Note that the EPS,
244 PS, and PDF tests require a working
245 <application>Ghostscript</application>. One test needs "Helvetica" from
246 "Standard Fonts" which are optionally installed in <xref linkend="gs"/>.
247 </para>
248
249 <!-- This is not necessary as the 'make install' process installs PerlMagick
250 <para>
251 And, if you built PerlMagick, still as the
252 <systemitem class="username">root</systemitem> user:</para>
253
254<screen role="root"><userinput>make -C PerlMagick install</userinput></screen>
255 -->
256
257 <!-- Commenting this out for now as it is redundant to information
258 that has already been presented, or is in the 'command explanations'
259 section below.
260 <sect3>
261 <title>Additional Configure Options</title>
262
263 <para>There are additional switches that can be passed to
264 <application>ImageMagick</application> to customize the installation to
265 your needs. See <filename>advanced-unix-installation.html</filename> in
266 the <filename class='directory'>www</filename> directory.</para>
267
268 </sect3>
269 -->
270
271 </sect2>
272
273 <sect2 role="commands">
274 <title>Command Explanations</title>
275
276 <para>
277 <parameter>--sysconfdir=/etc</parameter>: Install the
278 <filename class="extension">.xml</filename> configuration files into
279 <filename class='directory'>/etc/ImageMagick</filename> instead of the
280 default <filename class='directory'>/usr/etc/ImageMagick</filename>.
281 </para>
282
283 <para>
284 <parameter>--with-modules</parameter>: Enables support for dynamically
285 loadable modules.
286 </para>
287
288 <para>
289 <parameter>--with-perl</parameter>: Enables building and installing
290 PerlMagick.
291 </para>
292
293 <para>
294 <parameter>--disable-static</parameter>: Prevents the static
295 libraries being built and installed.
296 </para>
297
298 <!-- The tests run fine if you run the validation suite after the package
299 is installed
300 <para>
301 <parameter>-without-magick-plus-plus</parameter>: Disables building
302 and installing Magick++. All the test modules and demos for Magick++
303 currently fail.
304 </para>
305 -->
306
307 <para>
308 <option>--with-gslib=/usr/lib</option>: Enables support to use the
309 <application>Ghostscript</application> shared library.
310 </para>
311
312 <para>
313 <option>--with-rsvg</option>: Enables support to use the
314 <application>librsvg</application> library.
315 </para>
316
317 <para>
318 <option>--with-autotrace</option>: Enables support to use the
319 <application>Autotrace</application> library.
320 </para>
321
322 <para>
323 <option>--with-wmf</option>: Enables support to use the
324 <application>libwmf</application> library.
325 </para>
326
327 <para>
328 <option>--with-gvc</option>: Enables support to use
329 <application>GraphViz</application>.
330 </para>
331
332 <para>
333 <option>--with-windows-font-dir=
334 <replaceable>&lt;Some/Directory&gt;</replaceable></option>:
335 This option specifies the directory where the Windows CoreFonts are
336 installed.
337 </para>
338
339 <para>
340 <option>--with-dejavu-font-dir=
341 <replaceable>&lt;Some/Directory&gt;</replaceable></option>:
342 This option specifies the directory where the DejaVu fonts are
343 installed.
344 </para>
345
346 <para>
347 The options and parameters listed above are the only ones you should
348 have to pass to the <command>configure</command> script to activate all
349 the delegate dependencies. All other dependencies will be automatically
350 detected and utilized in the build if they are installed.
351 </para>
352
353 </sect2>
354
355 <sect2 role="content">
356 <title>Contents</title>
357
358 <segmentedlist>
359 <segtitle>Installed Programs</segtitle>
360 <segtitle>Installed Libraries</segtitle>
361 <segtitle>Installed Directories</segtitle>
362
363 <seglistitem>
364 <seg>animate, compare, composite, conjure, convert, display,
365 identify, import, Magick-config, Magick++-config, MagickCore-config,
366 MagickWand-config, mogrify, montage, stream, and Wand-config</seg>
367
368 <seg>libMagickCore-6.Q16.so, libMagickWand-6.Q16.so,
369 libMagick++-6.Q16.so,
370 numerous modules under
371 /usr/lib/ImageMagick-&imagemagick-version;/modules-Q16/{coders,filters}/,
372 /usr/lib/perl5/site_perl/&lfs-perl-version;/auto/Image/Magick/Magick.so, and
373 /usr/lib/perl5/site_perl/&lfs-perl-version;/auto/Image/Magick/Q16/Q16.so</seg>
374
375 <seg>/etc/ImageMagick-6,
376 /usr/include/ImageMagick-6,
377 /usr/lib/ImageMagick-&imagemagick-version;,
378 /usr/lib/perl5/site_perl/&lfs-perl-version;/auto/Image,
379 /usr/lib/perl5/site_perl/&lfs-perl-version;/Image,
380 /usr/share/ImageMagick-6 and
381 /usr/share/doc/ImageMagick-6</seg>
382 </seglistitem>
383 </segmentedlist>
384
385 <variablelist>
386 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
387 <?dbfo list-presentation="list"?>
388 <?dbhtml list-presentation="table"?>
389
390 <varlistentry id="animate">
391 <term><command>animate</command></term>
392 <listitem>
393 <para>animates a sequence of images.</para>
394 <indexterm zone="imagemagick animate">
395 <primary sortas="b-animate">animate</primary>
396 </indexterm>
397 </listitem>
398 </varlistentry>
399
400 <varlistentry id="compare">
401 <term><command>compare</command></term>
402 <listitem>
403 <para>compares an image to a reconstructed image.</para>
404 <indexterm zone="imagemagick compare">
405 <primary sortas="b-compare">compare</primary>
406 </indexterm>
407 </listitem>
408 </varlistentry>
409
410 <varlistentry id="composite">
411 <term><command>composite</command></term>
412 <listitem>
413 <para>composites various images into the given base image.</para>
414 <indexterm zone="imagemagick composite">
415 <primary sortas="b-composite">composite</primary>
416 </indexterm>
417 </listitem>
418 </varlistentry>
419
420 <varlistentry id="conjure">
421 <term><command>conjure</command></term>
422 <listitem>
423 <para>processes a MSL script to create an image.</para>
424 <indexterm zone="imagemagick conjure">
425 <primary sortas="b-conjure">conjure</primary>
426 </indexterm>
427 </listitem>
428 </varlistentry>
429
430 <varlistentry id="convert">
431 <term><command>convert</command></term>
432 <listitem>
433 <para>converts image(s) from one format to another.</para>
434 <indexterm zone="imagemagick convert">
435 <primary sortas="b-convert">convert</primary>
436 </indexterm>
437 </listitem>
438 </varlistentry>
439
440 <varlistentry id="display">
441 <term><command>display</command></term>
442 <listitem>
443 <para>displays an image.</para>
444 <indexterm zone="imagemagick display">
445 <primary sortas="b-display">display</primary>
446 </indexterm>
447 </listitem>
448 </varlistentry>
449
450 <varlistentry id="identify">
451 <term><command>identify</command></term>
452 <listitem>
453 <para>describes the format and characteristics of an image file.</para>
454 <indexterm zone="imagemagick identify">
455 <primary sortas="b-identify">identify</primary>
456 </indexterm>
457 </listitem>
458 </varlistentry>
459
460 <varlistentry id="import">
461 <term><command>import</command></term>
462 <listitem>
463 <para>captures an X window.</para>
464 <indexterm zone="imagemagick import">
465 <primary sortas="b-import">import</primary>
466 </indexterm>
467 </listitem>
468 </varlistentry>
469
470 <varlistentry id="magick-config">
471 <term><command>Magick{,++,Core,Wand}-config</command></term>
472 <listitem>
473 <para>show information about the installed versions of the
474 <application>ImageMagick</application> libraries.</para>
475 <indexterm zone="imagemagick magick-config">
476 <primary sortas="b-Magick-config">Magick-config</primary>
477 </indexterm>
478 </listitem>
479 </varlistentry>
480
481 <varlistentry id="mogrify">
482 <term><command>mogrify</command></term>
483 <listitem>
484 <para>transforms an image.</para>
485 <indexterm zone="imagemagick mogrify">
486 <primary sortas="b-mogrify">mogrify</primary>
487 </indexterm>
488 </listitem>
489 </varlistentry>
490
491 <varlistentry id="montage">
492 <term><command>montage</command></term>
493 <listitem>
494 <para>composites various images into a new image.</para>
495 <indexterm zone="imagemagick montage">
496 <primary sortas="b-montage">montage</primary>
497 </indexterm>
498 </listitem>
499 </varlistentry>
500
501 <varlistentry id="stream">
502 <term><command>stream</command></term>
503 <listitem>
504 <para>streams one or more pixel components of an image or
505 portion of the image to your choice of storage formats.</para>
506 <indexterm zone="imagemagick stream">
507 <primary sortas="b-stream">stream</primary>
508 </indexterm>
509 </listitem>
510 </varlistentry>
511
512 <varlistentry id="wand-config">
513 <term><command>Wand-config</command></term>
514 <listitem>
515 <para>shows the options required to use the Wand library.</para>
516 <indexterm zone="imagemagick wand-config">
517 <primary sortas="b-Wand-config">Wand-config</primary>
518 </indexterm>
519 </listitem>
520 </varlistentry>
521
522 <varlistentry id="perlmagick">
523 <term><filename class='libraryfile'>Image::Magick</filename></term>
524 <listitem>
525 <para>allows the reading, manipulation and writing of a large number of
526 image file formats using the <application>ImageMagick</application>
527 library. Run <command>make</command> in the
528 <filename class='directory'>PerlMagick/demo</filename> directory of
529 the package source tree after the package is installed to see a nice
530 demo of the module's capabilities.</para>
531 <indexterm zone="imagemagick perlmagick">
532 <primary sortas="g-Image-Magick">Image::Magick</primary>
533 </indexterm>
534 </listitem>
535 </varlistentry>
536
537 </variablelist>
538
539 </sect2>
540
541</sect1>
Note: See TracBrowser for help on using the repository browser.