source: general/genutils/imagemagick.xml@ 7f1ab53

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 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 7f1ab53 was 7f1ab53, checked in by Randy McMurchy <randy@…>, 11 years ago

Updated ImageMagick to 6.8.2-8

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

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