source: general/genutils/imagemagick.xml@ f4f57ff0

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

libwebp ulink to xref

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

  • Property mode set to 100644
File size: 19.9 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 "6">
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 "ddd46cdf8f6eb22deee14d4fee267796">
19 <!ENTITY imagemagick-size "7.2 MB">
20 <!ENTITY imagemagick-buildsize "208 MB (with typical dependencies, reputedly 450 MB with all dependencies)">
21 <!ENTITY imagemagick-time "1.9 SBU (typical 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 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 &lfs73_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<screen><userinput>./configure --prefix=/usr \
219 --sysconfdir=/etc \
220 --with-modules \
221 --with-perl \
222 --disable-static &amp;&amp;
223make</userinput></screen>
224
225 <para>
226 The validation suite is intended to be run after the package is installed.
227 </para>
228
229 <para>
230 Now, as the <systemitem class="username">root</systemitem> user:
231 </para>
232
233<screen role="root"><userinput>make install</userinput></screen>
234
235 <para>
236 To test the installation, issue: <command>make check</command>. Note that the
237 EPS, PS, and PDF tests require a working <application>Ghostscript</application>.
238 </para>
239
240 <!-- This is not necessary as the 'make install' process installs PerlMagick
241 <para>
242 And, if you built PerlMagick, still as the
243 <systemitem class="username">root</systemitem> user:</para>
244
245<screen role="root"><userinput>make -C PerlMagick install</userinput></screen>
246 -->
247
248 <!-- Commenting this out for now as it is redundant to information
249 that has already been presented, or is in the 'command explanations'
250 section below.
251 <sect3>
252 <title>Additional Configure Options</title>
253
254 <para>There are additional switches that can be passed to
255 <application>ImageMagick</application> to customize the installation to
256 your needs. See <filename>advanced-unix-installation.html</filename> in
257 the <filename class='directory'>www</filename> directory.</para>
258
259 </sect3>
260 -->
261
262 </sect2>
263
264 <sect2 role="commands">
265 <title>Command Explanations</title>
266
267 <para>
268 <parameter>--sysconfdir=/etc</parameter>: Install the
269 <filename class="extension">.xml</filename> configuration files into
270 <filename class='directory'>/etc/ImageMagick</filename> instead of the
271 default <filename class='directory'>/usr/etc/ImageMagick</filename>.
272 </para>
273
274 <para>
275 <parameter>--with-modules</parameter>: Enables support for dynamically
276 loadable modules.
277 </para>
278
279 <para>
280 <parameter>--with-perl</parameter>: Enables building and installing
281 PerlMagick.
282 </para>
283
284 <para>
285 <parameter>--disable-static</parameter>: Prevents the static
286 libraries being built and installed.
287 </para>
288
289 <!-- The tests run fine if you run the validation suite after the package
290 is installed
291 <para>
292 <parameter>-without-magick-plus-plus</parameter>: Disables building
293 and installing Magick++. All the test modules and demos for Magick++
294 currently fail.
295 </para>
296 -->
297
298 <para>
299 <option>--with-gslib=/usr/lib</option>: Enables support to use the
300 <application>Ghostscript</application> shared library.
301 </para>
302
303 <para>
304 <option>--with-rsvg</option>: Enables support to use the
305 <application>librsvg</application> library.
306 </para>
307
308 <para>
309 <option>--with-autotrace</option>: Enables support to use the
310 <application>Autotrace</application> library.
311 </para>
312
313 <para>
314 <option>--with-wmf</option>: Enables support to use the
315 <application>libwmf</application> library.
316 </para>
317
318 <para>
319 <option>--with-gvc</option>: Enables support to use
320 <application>GraphViz</application>.
321 </para>
322
323 <para>
324 <option>--with-windows-font-dir=
325 <replaceable>&lt;Some/Directory&gt;</replaceable></option>:
326 This option specifies the directory where the Windows CoreFonts are
327 installed.
328 </para>
329
330 <para>
331 <option>--with-dejavu-font-dir=
332 <replaceable>&lt;Some/Directory&gt;</replaceable></option>:
333 This option specifies the directory where the DejaVu fonts are
334 installed.
335 </para>
336
337 <para>
338 The options and parameters listed above are the only ones you should
339 have to pass to the <command>configure</command> script to activate all
340 the delegate dependencies. All other dependencies will be automatically
341 detected and utilized in the build if they are installed.
342 </para>
343
344 </sect2>
345
346 <sect2 role="content">
347 <title>Contents</title>
348
349 <segmentedlist>
350 <segtitle>Installed Programs</segtitle>
351 <segtitle>Installed Libraries</segtitle>
352 <segtitle>Installed Directories</segtitle>
353
354 <seglistitem>
355 <seg>animate, compare, composite, conjure, convert, display,
356 identify, import, Magick-config, Magic++-config, MagickCore-config,
357 MagickWand-config, mogrify, montage, stream, and Wand-config</seg>
358
359 <seg>libMagickCore-Q16.so, libMagickWand-Q16.so, libMagick++-Q16.so,
360 and numerous plugin modules</seg>
361
362 <seg>/etc/ImageMagick,
363 /usr/include/ImageMagick,
364 /usr/lib/ImageMagick-&imagemagick-version;,
365 /usr/lib/perl5/site_perl/&lfs-perl-version;/auto/Image,
366 /usr/lib/perl5/site_perl/&lfs-perl-version;/Image/Magick,
367 /usr/share/ImageMagick-&imagemagick-version; and
368 /usr/share/doc/ImageMagick-&imagemagick-version;</seg>
369 </seglistitem>
370 </segmentedlist>
371
372 <variablelist>
373 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
374 <?dbfo list-presentation="list"?>
375 <?dbhtml list-presentation="table"?>
376
377 <varlistentry id="animate">
378 <term><command>animate</command></term>
379 <listitem>
380 <para>animates a sequence of images.</para>
381 <indexterm zone="imagemagick animate">
382 <primary sortas="b-animate">animate</primary>
383 </indexterm>
384 </listitem>
385 </varlistentry>
386
387 <varlistentry id="compare">
388 <term><command>compare</command></term>
389 <listitem>
390 <para>compares an image to a reconstructed image.</para>
391 <indexterm zone="imagemagick compare">
392 <primary sortas="b-compare">compare</primary>
393 </indexterm>
394 </listitem>
395 </varlistentry>
396
397 <varlistentry id="composite">
398 <term><command>composite</command></term>
399 <listitem>
400 <para>composites various images into the given base image.</para>
401 <indexterm zone="imagemagick composite">
402 <primary sortas="b-composite">composite</primary>
403 </indexterm>
404 </listitem>
405 </varlistentry>
406
407 <varlistentry id="conjure">
408 <term><command>conjure</command></term>
409 <listitem>
410 <para>processes a MSL script to create an image.</para>
411 <indexterm zone="imagemagick conjure">
412 <primary sortas="b-conjure">conjure</primary>
413 </indexterm>
414 </listitem>
415 </varlistentry>
416
417 <varlistentry id="convert">
418 <term><command>convert</command></term>
419 <listitem>
420 <para>converts image(s) from one format to another.</para>
421 <indexterm zone="imagemagick convert">
422 <primary sortas="b-convert">convert</primary>
423 </indexterm>
424 </listitem>
425 </varlistentry>
426
427 <varlistentry id="display">
428 <term><command>display</command></term>
429 <listitem>
430 <para>displays an image.</para>
431 <indexterm zone="imagemagick display">
432 <primary sortas="b-display">display</primary>
433 </indexterm>
434 </listitem>
435 </varlistentry>
436
437 <varlistentry id="identify">
438 <term><command>identify</command></term>
439 <listitem>
440 <para>describes the format and characteristics of an image file.</para>
441 <indexterm zone="imagemagick identify">
442 <primary sortas="b-identify">identify</primary>
443 </indexterm>
444 </listitem>
445 </varlistentry>
446
447 <varlistentry id="import">
448 <term><command>import</command></term>
449 <listitem>
450 <para>captures an X window.</para>
451 <indexterm zone="imagemagick import">
452 <primary sortas="b-import">import</primary>
453 </indexterm>
454 </listitem>
455 </varlistentry>
456
457 <varlistentry id="magick-config">
458 <term><command>Magick{,++,Core,Wand}-config</command></term>
459 <listitem>
460 <para>show information about the installed versions of the
461 <application>ImageMagick</application> libraries.</para>
462 <indexterm zone="imagemagick magick-config">
463 <primary sortas="b-Magick-config">Magick-config</primary>
464 </indexterm>
465 </listitem>
466 </varlistentry>
467
468 <varlistentry id="mogrify">
469 <term><command>mogrify</command></term>
470 <listitem>
471 <para>transforms an image.</para>
472 <indexterm zone="imagemagick mogrify">
473 <primary sortas="b-mogrify">mogrify</primary>
474 </indexterm>
475 </listitem>
476 </varlistentry>
477
478 <varlistentry id="montage">
479 <term><command>montage</command></term>
480 <listitem>
481 <para>composites various images into a new image.</para>
482 <indexterm zone="imagemagick montage">
483 <primary sortas="b-montage">montage</primary>
484 </indexterm>
485 </listitem>
486 </varlistentry>
487
488 <varlistentry id="stream">
489 <term><command>stream</command></term>
490 <listitem>
491 <para>streams one or more pixel components of an image or
492 portion of the image to your choice of storage formats.</para>
493 <indexterm zone="imagemagick stream">
494 <primary sortas="b-stream">stream</primary>
495 </indexterm>
496 </listitem>
497 </varlistentry>
498
499 <varlistentry id="wand-config">
500 <term><command>Wand-config</command></term>
501 <listitem>
502 <para>shows the options required to use the Wand library.</para>
503 <indexterm zone="imagemagick wand-config">
504 <primary sortas="b-Wand-config">Wand-config</primary>
505 </indexterm>
506 </listitem>
507 </varlistentry>
508
509 <varlistentry id="perlmagick">
510 <term><filename class='libraryfile'>Image::Magick</filename></term>
511 <listitem>
512 <para>allows the reading, manipulation and writing of a large number of
513 image file formats using the <application>ImageMagick</application>
514 library. Run <command>make</command> in the
515 <filename class='directory'>PerlMagick/demo</filename> directory of
516 the package source tree after the package is installed to see a nice
517 demo of the module's capabilities.</para>
518 <indexterm zone="imagemagick perlmagick">
519 <primary sortas="g-Image-Magick">Image::Magick</primary>
520 </indexterm>
521 </listitem>
522 </varlistentry>
523
524 </variablelist>
525
526 </sect2>
527
528</sect1>
Note: See TracBrowser for help on using the repository browser.