source: general/genutils/imagemagick.xml@ decad7a

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since decad7a was decad7a, checked in by Ken Moffat <ken@…>, 9 years ago

Change ImageMagick URL to point to their releases archive.

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

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