source: general/genutils/imagemagick.xml@ e45e73d

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 e45e73d was e45e73d, checked in by Igor Živković <igor@…>, 11 years ago

update to ImageMagick-6.8.6-10

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

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