source: general/genutils/imagemagick.xml@ b185316

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 b185316 was b185316, checked in by Igor Živković <igor@…>, 11 years ago

update to imagemagick-6.8.7-3

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

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