source: general/genutils/imagemagick.xml@ 296bc89

7.6-blfs 7.6-systemd kde5-14269 kde5-14686 systemd-13485
Last change on this file since 296bc89 was a4e20bf, checked in by Krejzi <krejzi@…>, 10 years ago

Merged trunk.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@13974 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 18.3 KB
RevLine 
[52d29f7]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[52d29f7]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[f53f4d1b]7 <!ENTITY imagemagick-patch-version "7">
[74f73ede]8
[5930509]9 <!ENTITY imagemagick-download-http " ">
[261e4fe4]10 <!ENTITY imagemagick-download-ftp
11 "ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-&imagemagick-version;-&imagemagick-patch-version;.tar.xz">
[f53f4d1b]12 <!ENTITY imagemagick-md5sum "763db53af657867e067cc74d6a532f49">
13 <!ENTITY imagemagick-size "7.3 MB">
[261e4fe4]14 <!ENTITY imagemagick-buildsize
[a4e20bf]15 "148 MB (with typical dependencies, additional 29 MB to run the test suite, reputedly 450 MB with all dependencies)">
[261e4fe4]16 <!ENTITY imagemagick-time
[a4e20bf]17 "2.4 SBU (typical build - additional 5.4 SBU to run the test suite and 12.6 SBU to run the validation suite)">
[52d29f7]18]>
19
[9c1fc963]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
[71c9d11]26 Marked as 'typical' because nobody builds ALL the optional extras [ken]
[a257775]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.
[71c9d11]29
[9c1fc963]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
[261e4fe4]34<sect1 id="imagemagick" xreflabel="ImageMagick-&imagemagick-version;-&imagemagick-patch-version;">
[db656dd]35 <?dbhtml filename="imagemagick.html"?>
[fc7afd0c]36
[db656dd]37 <sect1info>
38 <othername>$LastChangedBy$</othername>
39 <date>$Date$</date>
40 </sect1info>
[fc7afd0c]41
[db656dd]42 <title>ImageMagick-&imagemagick-version;-&imagemagick-patch-version;</title>
[fc7afd0c]43
[db656dd]44 <indexterm zone="imagemagick">
45 <primary sortas="a-ImageMagick">ImageMagick</primary>
46 </indexterm>
47
48 <sect2 role="package">
49 <title>Introduction to ImageMagick</title>
[fc7afd0c]50
[7f1ab53]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>
[fc7afd0c]57
[3fa825f6]58 &lfs75_checked;
[71c9d11]59
[db656dd]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>
[fc7afd0c]81
[7f1ab53]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>
[de3764f]96
[db656dd]97 <bridgehead renderas="sect3">ImageMagick Dependencies</bridgehead>
[fc7afd0c]98
[6cc3f39]99 <bridgehead renderas="sect4">Recommended</bridgehead>
[7f1ab53]100 <para role="recommended">
[261e4fe4]101 <xref linkend="xorg7-lib"/>
[7f1ab53]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>
[744e7e9]117
118 <bridgehead renderas="sect4">Optional System Utilities</bridgehead>
[7f1ab53]119 <para role="optional">
[0d7900a]120 <xref linkend="cups"/>,
121 <xref linkend="curl"/>,
[261e4fe4]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"/>,
[7f1ab53]128 <ulink url="http://dmalloc.com/">Dmalloc</ulink>,
[310998a4]129 <ulink url="http://linux.softpedia.com/get/Programming/Debuggers/Electric-Fence-3305.shtml/">Electric Fence</ulink>,
[7f1ab53]130 <ulink url="http://www.fftw.org/">FFTW</ulink>,
[121496d0]131 <ulink url="http://www.openpgp.org/resources/downloads">PGP</ulink> or
[f82ac3f]132 <xref linkend="gnupg2"/>
[7f1ab53]133 (you'll have to do some hacking to use <application>GnuPG</application>),
[261e4fe4]134 <ulink url="ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/profiles.zip">Profiles</ulink>, and
[a257775]135 <ulink url="http://ufraw.sourceforge.net/">ufraw</ulink> (for raw formats listed in
[261e4fe4]136 <filename>www/formats.html</filename>)
[744e7e9]137 </para>
138
139 <bridgehead renderas="sect4">Optional Graphics Libraries</bridgehead>
[7f1ab53]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"/>,
[f4f57ff0]149 <xref linkend="libwebp"/>,
[261e4fe4]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>,
[7f1ab53]156 <ulink url="http://liblqr.wikidot.com/en:download-page">Liquid Rescale</ulink>,
157 <ulink url="http://www.openexr.com/">OpenEXR</ulink>,
[261e4fe4]158 <ulink url="http://sourceforge.net/projects/openjpeg.mirror/">OpenJPEG 2</ulink>, and
[7f1ab53]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>)
[744e7e9]161 </para>
162
163 <bridgehead renderas="sect4">Optional Graphics Utilities</bridgehead>
[7f1ab53]164 <para role="optional">
165 <xref linkend="gs"/>,
166 <xref linkend="gimp"/>,
167 <xref linkend="graphviz"/>,
168 <xref linkend="inkscape"/>,
[261e4fe4]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>,
[7f1ab53]174 <ulink url="http://www.povray.org/">POV-Ray</ulink>, and
175 <ulink url="http://radsite.lbl.gov/radiance/HOME.html">Radiance</ulink>
[744e7e9]176 </para>
177
178 <bridgehead renderas="sect4">Optional Conversion Tools</bridgehead>
[7f1ab53]179 <para role="optional">
180 <xref linkend="enscript"/>,
[261e4fe4]181 <xref linkend="texlive"/>,
182 <ulink url="http://autotrace.sourceforge.net/">AutoTrace</ulink>,
[7f1ab53]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>)
[744e7e9]192 </para>
[fc7afd0c]193
[1039de3]194 <para condition="html" role="usernotes">User Notes:
195 <ulink url="&blfs-wiki;/imagemagick"/></para>
196
[db656dd]197 </sect2>
[fc7afd0c]198
[db656dd]199 <sect2 role="installation">
200 <title>Installation of ImageMagick</title>
201
[7f1ab53]202 <para>
[261e4fe4]203 Install <application>ImageMagick</application> by running the following commands:
[7f1ab53]204 </para>
[db656dd]205
[7f1ab53]206<screen><userinput>./configure --prefix=/usr \
[844a44e1]207 --sysconfdir=/etc \
[261e4fe4]208 --enable-hdri \
[844a44e1]209 --with-modules \
210 --with-perl \
[7f1ab53]211 --disable-static &amp;&amp;
[db656dd]212make</userinput></screen>
[fc7afd0c]213
[7f1ab53]214 <para>
215 Now, as the <systemitem class="username">root</systemitem> user:
216 </para>
[fc7afd0c]217
[71c9d11]218<screen role="root"><userinput>make install</userinput></screen>
219
[7f1ab53]220 <para>
[121496d0]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
[142f958b]225 <application>Ghostscript</application>. One test needs "Helvetica" from
226 "Standard Fonts" which are optionally installed in <xref linkend="gs"/>.
[7f1ab53]227 </para>
228
[db656dd]229 </sect2>
[fc7afd0c]230
[db656dd]231 <sect2 role="commands">
232 <title>Command Explanations</title>
233
[7f1ab53]234 <para>
[261e4fe4]235 <parameter>--enable-hdri</parameter>: Enables building of a
236 high dynamic range version of ImageMagick.
[7f1ab53]237 </para>
238
239 <para>
[261e4fe4]240 <parameter>--with-modules</parameter>: Enables support for
241 dynamically loadable modules.
[7f1ab53]242 </para>
243
244 <para>
[261e4fe4]245 <parameter>--with-perl</parameter>: Enables building and
246 installing of PerlMagick.
[7f1ab53]247 </para>
248
249 <para>
250 <parameter>--disable-static</parameter>: Prevents the static
251 libraries being built and installed.
252 </para>
[a44dbcef]253
[7f1ab53]254 <para>
[261e4fe4]255 <option>--with-gslib</option>: Enables support to use the
[7f1ab53]256 <application>Ghostscript</application> shared library.
257 </para>
[fc7afd0c]258
[7f1ab53]259 <para>
260 <option>--with-rsvg</option>: Enables support to use the
261 <application>librsvg</application> library.
262 </para>
[844a44e1]263
[7f1ab53]264 <para>
[261e4fe4]265 <option>--with-autotrace</option>: Enables support to use
266 the <application>Autotrace</application> library.
[7f1ab53]267 </para>
[844a44e1]268
[7f1ab53]269 <para>
270 <option>--with-wmf</option>: Enables support to use the
271 <application>libwmf</application> library.
272 </para>
[744e7e9]273
[7f1ab53]274 <para>
275 <option>--with-gvc</option>: Enables support to use
276 <application>GraphViz</application>.
277 </para>
[744e7e9]278
[7f1ab53]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>
[744e7e9]285
[7f1ab53]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>
[744e7e9]292
[7f1ab53]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>
[71c9d11]299
[db656dd]300 </sect2>
[fc7afd0c]301
[db656dd]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>
[fc7afd0c]309
[db656dd]310 <seglistitem>
[261e4fe4]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>
[a4e20bf]317 libMagickCore-6.Q16HDRI.so,
318 libMagickWand-6.Q16HDRI.so,
319 libMagick++-6.Q16HDRI.so,
[261e4fe4]320 /usr/lib/perl5/site_perl/&lfs-perl-version;/auto/Image/Magick/Magick.so, and
[a4e20bf]321 /usr/lib/perl5/site_perl/&lfs-perl-version;/auto/Image/Magick/Q16HDRI/Q16HDRI.so
[261e4fe4]322 </seg>
323 <seg>
324 /etc/ImageMagick-6,
325 /usr/include/ImageMagick-6,
326 /usr/lib/ImageMagick-&imagemagick-version;,
327 /usr/lib/perl5/site_perl/&lfs-perl-version;/auto/Image/Magick,
328 /usr/lib/perl5/site_perl/&lfs-perl-version;/Image/Magick,
329 /usr/share/ImageMagick-6, and
330 /usr/share/doc/ImageMagick-6
331 </seg>
[db656dd]332 </seglistitem>
333 </segmentedlist>
[fc7afd0c]334
[db656dd]335 <variablelist>
336 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
[fc7afd0c]337 <?dbfo list-presentation="list"?>
[db656dd]338 <?dbhtml list-presentation="table"?>
[fc7afd0c]339
[db656dd]340 <varlistentry id="animate">
341 <term><command>animate</command></term>
342 <listitem>
343 <para>animates a sequence of images.</para>
344 <indexterm zone="imagemagick animate">
345 <primary sortas="b-animate">animate</primary>
346 </indexterm>
347 </listitem>
348 </varlistentry>
[fc7afd0c]349
[db656dd]350 <varlistentry id="compare">
351 <term><command>compare</command></term>
352 <listitem>
353 <para>compares an image to a reconstructed image.</para>
354 <indexterm zone="imagemagick compare">
355 <primary sortas="b-compare">compare</primary>
356 </indexterm>
357 </listitem>
358 </varlistentry>
[fc7afd0c]359
[db656dd]360 <varlistentry id="composite">
361 <term><command>composite</command></term>
362 <listitem>
363 <para>composites various images into the given base image.</para>
364 <indexterm zone="imagemagick composite">
365 <primary sortas="b-composite">composite</primary>
366 </indexterm>
367 </listitem>
368 </varlistentry>
[fc7afd0c]369
[db656dd]370 <varlistentry id="conjure">
371 <term><command>conjure</command></term>
372 <listitem>
373 <para>processes a MSL script to create an image.</para>
374 <indexterm zone="imagemagick conjure">
375 <primary sortas="b-conjure">conjure</primary>
376 </indexterm>
377 </listitem>
378 </varlistentry>
[fc7afd0c]379
[db656dd]380 <varlistentry id="convert">
381 <term><command>convert</command></term>
382 <listitem>
383 <para>converts image(s) from one format to another.</para>
384 <indexterm zone="imagemagick convert">
385 <primary sortas="b-convert">convert</primary>
386 </indexterm>
387 </listitem>
388 </varlistentry>
[fc7afd0c]389
[db656dd]390 <varlistentry id="display">
391 <term><command>display</command></term>
392 <listitem>
393 <para>displays an image.</para>
394 <indexterm zone="imagemagick display">
395 <primary sortas="b-display">display</primary>
396 </indexterm>
397 </listitem>
398 </varlistentry>
[fc7afd0c]399
[db656dd]400 <varlistentry id="identify">
401 <term><command>identify</command></term>
402 <listitem>
403 <para>describes the format and characteristics of an image file.</para>
404 <indexterm zone="imagemagick identify">
405 <primary sortas="b-identify">identify</primary>
406 </indexterm>
407 </listitem>
408 </varlistentry>
[fc7afd0c]409
[db656dd]410 <varlistentry id="import">
411 <term><command>import</command></term>
412 <listitem>
413 <para>captures an X window.</para>
414 <indexterm zone="imagemagick import">
415 <primary sortas="b-import">import</primary>
416 </indexterm>
417 </listitem>
418 </varlistentry>
[fc7afd0c]419
[db656dd]420 <varlistentry id="magick-config">
[7f1ab53]421 <term><command>Magick{,++,Core,Wand}-config</command></term>
[db656dd]422 <listitem>
[71c9d11]423 <para>show information about the installed versions of the
[844a44e1]424 <application>ImageMagick</application> libraries.</para>
[db656dd]425 <indexterm zone="imagemagick magick-config">
426 <primary sortas="b-Magick-config">Magick-config</primary>
427 </indexterm>
428 </listitem>
429 </varlistentry>
[fc7afd0c]430
[db656dd]431 <varlistentry id="mogrify">
432 <term><command>mogrify</command></term>
433 <listitem>
434 <para>transforms an image.</para>
435 <indexterm zone="imagemagick mogrify">
436 <primary sortas="b-mogrify">mogrify</primary>
437 </indexterm>
438 </listitem>
439 </varlistentry>
[fc7afd0c]440
[db656dd]441 <varlistentry id="montage">
442 <term><command>montage</command></term>
443 <listitem>
444 <para>composites various images into a new image.</para>
445 <indexterm zone="imagemagick montage">
446 <primary sortas="b-montage">montage</primary>
447 </indexterm>
448 </listitem>
449 </varlistentry>
[fc7afd0c]450
[3eebaa66]451 <varlistentry id="stream">
452 <term><command>stream</command></term>
453 <listitem>
454 <para>streams one or more pixel components of an image or
455 portion of the image to your choice of storage formats.</para>
456 <indexterm zone="imagemagick stream">
457 <primary sortas="b-stream">stream</primary>
458 </indexterm>
459 </listitem>
460 </varlistentry>
461
[db656dd]462 <varlistentry id="wand-config">
463 <term><command>Wand-config</command></term>
464 <listitem>
465 <para>shows the options required to use the Wand library.</para>
466 <indexterm zone="imagemagick wand-config">
467 <primary sortas="b-Wand-config">Wand-config</primary>
468 </indexterm>
469 </listitem>
470 </varlistentry>
[fc7afd0c]471
[db656dd]472 <varlistentry id="perlmagick">
473 <term><filename class='libraryfile'>Image::Magick</filename></term>
474 <listitem>
[8d77de6]475 <para>allows the reading, manipulation and writing of a large number of
[fc7afd0c]476 image file formats using the <application>ImageMagick</application>
[8d77de6]477 library. Run <command>make</command> in the
478 <filename class='directory'>PerlMagick/demo</filename> directory of
[6cc3f39]479 the package source tree after the package is installed to see a nice
480 demo of the module's capabilities.</para>
[db656dd]481 <indexterm zone="imagemagick perlmagick">
482 <primary sortas="g-Image-Magick">Image::Magick</primary>
483 </indexterm>
484 </listitem>
485 </varlistentry>
[fc7afd0c]486
[db656dd]487 </variablelist>
488
489 </sect2>
[f828f6a]490
491</sect1>
Note: See TracBrowser for help on using the repository browser.