source: general/genutils/imagemagick.xml@ 121496d0

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

Update to ImageMagick-6.8.8-0.

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

  • Property mode set to 100644
File size: 20.6 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 "b518b58764d49f7e38c2154230fdc3d4">
19 <!ENTITY imagemagick-size "7.2 MB">
20 <!ENTITY imagemagick-buildsize "154 MB (with typical dependencies,
21 additional 29 MB to run the test suite,
22 reputedly 450 MB with all dependencies)">
23 <!ENTITY imagemagick-time "2.3 SBU (typical build - additional 5.2
24 SBU to run the test suite and 29 SBU to
25 run the validation suite)">
26]>
27
28<!-- Editors: It is highly unlikely that the buildsize (disk space used) will
29 be less than the figure shown above. Unless you have installed *all* the
30 delegate dependencies, you will see a smaller buildsize, but what is
31 currently listed above is the space one would require if all the
32 dependencies are installed, which is what we want.
33
34 Marked as 'typical' because nobody builds ALL the optional extras [ken]
35 Saved the "full" 450MB as a comment - feel free to update this iff you
36 do build all dependencies, it's probably a lot bigger now.
37
38 Also, please look over the output from the configure command for any
39 additional dependencies that need to be listed, as ImageMagick is
40 constantly adding additional features and dependencies. -->
41
42
43<sect1 id="imagemagick"
44xreflabel="ImageMagick-&imagemagick-version;-&imagemagick-patch-version;">
45 <?dbhtml filename="imagemagick.html"?>
46
47 <sect1info>
48 <othername>$LastChangedBy$</othername>
49 <date>$Date$</date>
50 </sect1info>
51
52 <title>ImageMagick-&imagemagick-version;-&imagemagick-patch-version;</title>
53
54 <indexterm zone="imagemagick">
55 <primary sortas="a-ImageMagick">ImageMagick</primary>
56 </indexterm>
57
58 <sect2 role="package">
59 <title>Introduction to ImageMagick</title>
60
61 <para>
62 <application>ImageMagick</application> is a collection of tools and
63 libraries to read, write, and manipulate an image in various image formats.
64 Image processing operations are available from the command line. Bindings
65 for Perl and C++ are also available.
66 </para>
67
68 &lfs74_checked;
69
70 <bridgehead renderas="sect3">Package Information</bridgehead>
71 <itemizedlist spacing="compact">
72 <listitem>
73 <para>Download (HTTP): <ulink url="&imagemagick-download-http;"/></para>
74 </listitem>
75 <listitem>
76 <para>Download (FTP): <ulink url="&imagemagick-download-ftp;"/></para>
77 </listitem>
78 <listitem>
79 <para>Download MD5 sum: &imagemagick-md5sum;</para>
80 </listitem>
81 <listitem>
82 <para>Download size: &imagemagick-size;</para>
83 </listitem>
84 <listitem>
85 <para>Estimated disk space required: &imagemagick-buildsize;</para>
86 </listitem>
87 <listitem>
88 <para>Estimated build time: &imagemagick-time;</para>
89 </listitem>
90 </itemizedlist>
91
92 <note>
93 <para>
94 The <application>ImageMagick</application> source releases are
95 updated frequently and the version shown above may no longer be available
96 from the download locations. You can download a more recent version and use
97 the existing BLFS instructions to install it. Chances are that it will
98 work just fine, but this has not been tested by the BLFS team. If the
99 package version shown above is not available from the locations shown
100 above, or from the <filename class='directory'>legacy/</filename> directory
101 at <literal>ftp.ImageMagick.org/pub/ImageMagick</literal> you can download it
102 from the BLFS package server at <ulink
103 url="&sources-anduin-http;/i/ImageMagick-&imagemagick-version;-&imagemagick-patch-version;.tar.xz"/>.
104 </para>
105 </note>
106
107 <bridgehead renderas="sect3">ImageMagick Dependencies</bridgehead>
108
109 <bridgehead renderas="sect4">Recommended</bridgehead>
110 <para role="recommended">
111 <xref linkend="x-window-system"/>
112 </para>
113
114 <para>
115 The optional dependencies listed below should be installed if you
116 need support for the specific format or the conversion tool the dependency
117 provides. Many of the dependencies' capabilities and uses are described in
118 the <quote>MAGICK DELEGATES</quote> section of the
119 <filename>README.txt</filename> file located in the source tree. Additional
120 information about the dependencies can be found in the
121 <filename>Install-unix.txt</filename> file located in the source tree as
122 well as issuing the <command>./configure --help</command> command. A
123 summary of this information, as well as some additional notes can be viewed
124 on-line at <ulink
125 url="http://www.imagemagick.org/script/advanced-unix-installation.php"/>.
126 </para>
127
128 <bridgehead renderas="sect4">Optional System Utilities</bridgehead>
129 <para role="optional">
130 <xref linkend="cups"/>,
131 <xref linkend="curl"/>,
132 <ulink url="http://dmalloc.com/">Dmalloc</ulink>,
133 <ulink url="http://perens.com/FreeSoftware/">Electric Fence</ulink>,
134 <xref linkend="ffmpeg"/>,
135 <ulink url="http://www.fftw.org/">FFTW</ulink>,
136 <ulink url="http://www.mupdf.com/">MuPDF</ulink>,
137<!-- <ulink url="http://www.gsp.com/support/virtual/email/pgp/">PGP</ulink> or -->
138 <ulink url="http://www.openpgp.org/resources/downloads">PGP</ulink> or
139 <xref linkend="gnupg2"/>
140 (you'll have to do some hacking to use <application>GnuPG</application>),
141 <ulink url="ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/profiles.zip">Profiles</ulink>,
142 <xref linkend="sane"/>,
143 <ulink url="http://ufraw.sourceforge.net/">ufraw</ulink> (for raw formats listed in
144 <filename>www/formats.html</filename>),
145 <xref linkend="wget"/>, and
146 <xref linkend="xdg-utils"/>
147 </para>
148
149 <bridgehead renderas="sect4">Optional Graphics Libraries</bridgehead>
150 <para role="optional">
151 <ulink url="http://corefonts.sourceforge.net/">corefonts</ulink>,
152 <ulink url="http://djvu.sourceforge.net/">DjVuLibre</ulink>,
153 <!-- <ulink url="http://www.i3a.org/i_flashpix.html">FlashPIX</ulink> (or -->
154 <ulink url="ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/">
155 FlashPIX (libfpx)</ulink>,
156 <!-- Added already from the Xorg recommended dependency <xref linkend="freetype2"/>, -->
157 <xref linkend="jasper"/>,
158 <ulink url="http://www.cl.cam.ac.uk/~mgk25/jbigkit/">JBIG-KIT</ulink>,
159 <xref linkend="lcms"/> or
160 <xref linkend="lcms2"/>,
161 <xref linkend="libexif"/>,
162 <xref linkend="libjpeg"/>,
163 <xref linkend="libpng"/>,
164 <xref linkend="librsvg"/>,
165 <xref linkend="libtiff"/>,
166 <xref linkend="libwebp"/>,
167 <ulink url="http://liblqr.wikidot.com/en:download-page">Liquid Rescale</ulink>,
168 <ulink url="http://www.openexr.com/">OpenEXR</ulink>,
169 <xref linkend="pango"/>, and
170 <ulink url="http://www.agocg.ac.uk/train/cgm/ralcgm.htm">RALCGM</ulink>
171 (or <ulink url="http://www.mcmurchy.com/ralcgm/ralcgm-3.51.tar.gz">ralcgm</ulink>)
172 </para>
173
174 <bridgehead renderas="sect4">Optional Graphics Utilities</bridgehead>
175 <para role="optional">
176 <ulink url="http://www.blender.org/">Blender</ulink>,
177 <ulink url="http://dejavu.sourceforge.net/">DejaVu fonts</ulink>,
178 <ulink url="http://www.ghostscript.com/download/gpcldnld.html">GhostPCL</ulink> or
179 <ulink url="http://www.ghostscript.com/download/gpdldnld.html">GhostPDL</ulink>,
180 <xref linkend="gs"/>,
181 <xref linkend="gimp"/>,
182 <ulink url="http://www.gnuplot.info/">Gnuplot</ulink>,
183 <xref linkend="graphviz"/>,
184 <xref linkend="inkscape"/>,
185 <ulink url="http://www.povray.org/">POV-Ray</ulink>, and
186 <ulink url="http://radsite.lbl.gov/radiance/HOME.html">Radiance</ulink>
187 </para>
188
189 <bridgehead renderas="sect4">Optional Conversion Tools</bridgehead>
190 <para role="optional">
191 <ulink url="http://autotrace.sourceforge.net/">AutoTrace</ulink>,
192 <xref linkend="enscript"/>,
193 <ulink url="http://www.lizardtech.com/downloads/category/">
194 GeoExpress Command Line Utilities, AKA MrSID Utilities (binary package)</ulink>,
195 <ulink url="http://www.gnu.org/software/hp2xx/">hp2xx</ulink>,
196 <ulink url="http://user.it.uu.se/~jan/html2ps.html">html2ps</ulink>,
197 <ulink url="http://wvware.sourceforge.net/">libwmf</ulink>,
198 <ulink url="http://www.mpeg.org/MSSG/">MPEG-2 Video Codec</ulink>,
199 <ulink url="http://netpbm.sourceforge.net/">Netpbm</ulink>,
200 <xref linkend="texlive"/>,
201 <ulink url="http://www.xfig.org/">Transfig</ulink>,
202 <!-- <ulink url="http://txt2html.sourceforge.net/">txt2html</ulink>
203 (requires Perl Module
204 <ulink url="http://cpan.org/authors/id/J/JS/JSTENZEL/Getopt-ArgvFile-1.11.tar.gz">
205 Getopt::ArgvFile</ulink>), and -->
206 <ulink url="http://sk1project.org/modules.php?name=products&amp;product=uniconvertor">
207 UniConvertor</ulink>, and
208 <ulink url="http://www.cs.utah.edu/gdc/projects/urt/">Utah Raster Toolkit</ulink>
209 (or <ulink url="http://www.mcmurchy.com/urt/urt-3.1b.tar.gz">URT-3.1b</ulink>)
210 </para>
211
212 <para condition="html" role="usernotes">User Notes:
213 <ulink url="&blfs-wiki;/imagemagick"/></para>
214
215 </sect2>
216
217 <sect2 role="installation">
218 <title>Installation of ImageMagick</title>
219
220 <para>
221 Install <application>Imagemagick</application> by running the following commands:
222 </para>
223
224<!-- <note><para>
225 If Xorg is not installed in user, add the entry LDFLAGS=-L$XORG_PREFIX/lib
226 to the configure line.
227 </para></note>
228-->
229<screen><userinput>./configure --prefix=/usr \
230 --sysconfdir=/etc \
231 --with-modules \
232 --with-perl \
233 --disable-static &amp;&amp;
234make</userinput></screen>
235
236 <para>
237 Now, as the <systemitem class="username">root</systemitem> user:
238 </para>
239
240<screen role="root"><userinput>make install</userinput></screen>
241
242 <para>
243 To test the installation, issue: <command>make check</command>. For a more
244 comprehensive test, run the <application>ImageMagick</application>
245 validation suite, also after the package is installed. Note that the EPS,
246 PS, and PDF tests require a working
247 <application>Ghostscript</application>.
248 </para>
249
250 <!-- This is not necessary as the 'make install' process installs PerlMagick
251 <para>
252 And, if you built PerlMagick, still as the
253 <systemitem class="username">root</systemitem> user:</para>
254
255<screen role="root"><userinput>make -C PerlMagick install</userinput></screen>
256 -->
257
258 <!-- Commenting this out for now as it is redundant to information
259 that has already been presented, or is in the 'command explanations'
260 section below.
261 <sect3>
262 <title>Additional Configure Options</title>
263
264 <para>There are additional switches that can be passed to
265 <application>ImageMagick</application> to customize the installation to
266 your needs. See <filename>advanced-unix-installation.html</filename> in
267 the <filename class='directory'>www</filename> directory.</para>
268
269 </sect3>
270 -->
271
272 </sect2>
273
274 <sect2 role="commands">
275 <title>Command Explanations</title>
276
277 <para>
278 <parameter>--sysconfdir=/etc</parameter>: Install the
279 <filename class="extension">.xml</filename> configuration files into
280 <filename class='directory'>/etc/ImageMagick</filename> instead of the
281 default <filename class='directory'>/usr/etc/ImageMagick</filename>.
282 </para>
283
284 <para>
285 <parameter>--with-modules</parameter>: Enables support for dynamically
286 loadable modules.
287 </para>
288
289 <para>
290 <parameter>--with-perl</parameter>: Enables building and installing
291 PerlMagick.
292 </para>
293
294 <para>
295 <parameter>--disable-static</parameter>: Prevents the static
296 libraries being built and installed.
297 </para>
298
299 <!-- The tests run fine if you run the validation suite after the package
300 is installed
301 <para>
302 <parameter>-without-magick-plus-plus</parameter>: Disables building
303 and installing Magick++. All the test modules and demos for Magick++
304 currently fail.
305 </para>
306 -->
307
308 <para>
309 <option>--with-gslib=/usr/lib</option>: Enables support to use the
310 <application>Ghostscript</application> shared library.
311 </para>
312
313 <para>
314 <option>--with-rsvg</option>: Enables support to use the
315 <application>librsvg</application> library.
316 </para>
317
318 <para>
319 <option>--with-autotrace</option>: Enables support to use the
320 <application>Autotrace</application> library.
321 </para>
322
323 <para>
324 <option>--with-wmf</option>: Enables support to use the
325 <application>libwmf</application> library.
326 </para>
327
328 <para>
329 <option>--with-gvc</option>: Enables support to use
330 <application>GraphViz</application>.
331 </para>
332
333 <para>
334 <option>--with-windows-font-dir=
335 <replaceable>&lt;Some/Directory&gt;</replaceable></option>:
336 This option specifies the directory where the Windows CoreFonts are
337 installed.
338 </para>
339
340 <para>
341 <option>--with-dejavu-font-dir=
342 <replaceable>&lt;Some/Directory&gt;</replaceable></option>:
343 This option specifies the directory where the DejaVu fonts are
344 installed.
345 </para>
346
347 <para>
348 The options and parameters listed above are the only ones you should
349 have to pass to the <command>configure</command> script to activate all
350 the delegate dependencies. All other dependencies will be automatically
351 detected and utilized in the build if they are installed.
352 </para>
353
354 </sect2>
355
356 <sect2 role="content">
357 <title>Contents</title>
358
359 <segmentedlist>
360 <segtitle>Installed Programs</segtitle>
361 <segtitle>Installed Libraries</segtitle>
362 <segtitle>Installed Directories</segtitle>
363
364 <seglistitem>
365 <seg>animate, compare, composite, conjure, convert, display,
366 identify, import, Magick-config, Magic++-config, MagickCore-config,
367 MagickWand-config, mogrify, montage, stream, and Wand-config</seg>
368
369 <seg>libMagickCore-6.Q16.so, libMagickWand-6.Q16.so,
370 libMagick++-6.Q16.so,
371 and numerous plugin modules under
372 /usr/lib/ImageMagick-6.8.8/modules-Q16/coders/</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.