source: general/genutils/imagemagick.xml@ f22f1ef3

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

applied Denis Mugnier's patch updating some incorrect URLs.

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