source: general/genutils/imagemagick.xml@ ed6d075

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.6 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 krejzi/svn 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 ed6d075 was ed6d075, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

Update to ImageMagick-6.8.9-7.
Update to x264-20140818-2245.
Update to nspr-4.10.7.
Update to MesaLib-10.2.6.
Update to nss-3.16.4.

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

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