source: general/genutils/imagemagick.xml@ 74f73ede

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 74f73ede was 74f73ede, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Update to firefox-15.0.1.
Fix some urls in perl-modules.

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

  • Property mode set to 100644
File size: 17.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 "1dc4fb3febd1db7e0ab47c877f66eb09">
19 <!ENTITY imagemagick-size "7.5 MB">
20 <!ENTITY imagemagick-buildsize "264 MB typical (additional 27MB if you run the testsuite, and additional 68 MB if you run the Image::Magick demo)">
21 <!ENTITY imagemagick-time "3.2 SBU typical (Additional 0.8 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
32 Also, please look over the output from the configure command for any
33 additional dependencies that need to be listed, as ImageMagick is
34 constantly adding additional features and dependencies. -->
35
36
37<sect1 id="imagemagick"
38xreflabel="ImageMagick-&imagemagick-version;-&imagemagick-patch-version;">
39 <?dbhtml filename="imagemagick.html"?>
40
41 <sect1info>
42 <othername>$LastChangedBy$</othername>
43 <date>$Date$</date>
44 </sect1info>
45
46 <title>ImageMagick-&imagemagick-version;-&imagemagick-patch-version;</title>
47
48 <indexterm zone="imagemagick">
49 <primary sortas="a-ImageMagick">ImageMagick</primary>
50 </indexterm>
51
52 <sect2 role="package">
53 <title>Introduction to ImageMagick</title>
54
55 <para><application>ImageMagick</application> is a collection of tools and
56 libraries to read, write, and manipulate an image in various image formats.
57 Image processing operations are available from the command line. Bindings
58 to various programming languages are also available.</para>
59
60 &lfs72_checked;
61
62 <bridgehead renderas="sect3">Package Information</bridgehead>
63 <itemizedlist spacing="compact">
64 <listitem>
65 <para>Download (HTTP): <ulink url="&imagemagick-download-http;"/></para>
66 </listitem>
67 <listitem>
68 <para>Download (FTP): <ulink url="&imagemagick-download-ftp;"/></para>
69 </listitem>
70 <listitem>
71 <para>Download MD5 sum: &imagemagick-md5sum;</para>
72 </listitem>
73 <listitem>
74 <para>Download size: &imagemagick-size;</para>
75 </listitem>
76 <listitem>
77 <para>Estimated disk space required: &imagemagick-buildsize;</para>
78 </listitem>
79 <listitem>
80 <para>Estimated build time: &imagemagick-time;</para>
81 </listitem>
82 </itemizedlist>
83
84 <note><para>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
93 <ulink
94 url="&sources-anduin-http;/i/ImageMagick-&imagemagick-version;-&imagemagick-patch-version;.tar.xz"/>.
95 </para></note>
96
97 <bridgehead renderas="sect3">ImageMagick Dependencies</bridgehead>
98
99 <bridgehead renderas="sect4">Recommended</bridgehead>
100 <para role="recommended"><xref linkend="x-window-system"/></para>
101
102 <para>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"/>.</para>
113
114 <bridgehead renderas="sect4">Optional System Utilities</bridgehead>
115 <para role="optional"><xref linkend="pkgconfig"/>,
116 <xref linkend="cups"/> or <xref linkend="LPRng"/> (or any other print
117 utility that provides an <command>lpr</command> command),
118 <ulink url="http://ufraw.sourceforge.net/">ufraw</ulink> (only for raw formats listed in
119 <filename>www/formats.html</filename>),
120 <ulink url="http://dmalloc.com/">Dmalloc</ulink>,
121 <ulink url="http://perens.com/FreeSoftware/">Electric Fence</ulink>,
122 <ulink url="http://www.gsp.com/support/virtual/email/pgp/">PGP</ulink>
123 or <xref linkend="gnupg"/> or <xref linkend="gnupg2"/>
124 (you'll have to do some hacking to use <application>GnuPG</application>),
125 <xref linkend="sane"/>, and
126 <xref linkend="wget"/>
127 </para>
128
129 <bridgehead renderas="sect4">Optional Graphics Libraries</bridgehead>
130 <para role="optional"><ulink url="http://corefonts.sourceforge.net/">corefonts</ulink>,
131 <ulink url="http://www.i3a.org/i_flashpix.html">FlashPIX</ulink> (or
132 <ulink url="ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/libfpx-1.3.0-1.tar.bz2">
133 FlashPIX library</ulink>),
134 <xref linkend="freetype2"/>,
135 <xref linkend="jasper"/>,
136 <ulink url="http://www.cl.cam.ac.uk/~mgk25/jbigkit/">JBIG-KIT</ulink>,
137 <xref linkend="lcms"/> or
138 <ulink url="http://sourceforge.net/projects/lcms/files/">lcms2</ulink>,
139 <xref linkend="libexif"/>,
140 <xref linkend="libjpeg"/>,
141 <xref linkend="libpng"/>,
142 <xref linkend="librsvg"/>,
143 <xref linkend="libtiff"/>,
144 <xref linkend="pango"/>,
145 <ulink url="http://www.webmproject.org/code/">libwebp</ulink>, and
146 <xref linkend="libxml2"/>,
147 <ulink url="http://djvu.sourceforge.net/">DjVuLibre</ulink>, and
148 <ulink url="http://www.agocg.ac.uk/train/cgm/ralcgm.htm">RALCGM</ulink>
149 </para>
150
151 <bridgehead renderas="sect4">Optional Graphics Utilities</bridgehead>
152 <para role="optional"><!-- <xref linkend="espgs"/> or --><xref linkend="gs"/>,
153 <ulink url="http://www.artifex.com/downloads/">GhostPCL</ulink>,
154 <xref linkend="gimp"/>,
155 <ulink url="http://www.gnuplot.info/">Gnuplot</ulink>,
156 <xref linkend="graphviz"/>,
157 <ulink url="http://www.povray.org/">POV-Ray</ulink>, and
158 <ulink url="http://radsite.lbl.gov/radiance/HOME.html">Radiance</ulink>
159 </para>
160
161 <bridgehead renderas="sect4">Optional Conversion Tools</bridgehead>
162 <para role="optional"><ulink url="http://autotrace.sourceforge.net/">AutoTrace</ulink>,
163 <xref linkend="enscript"/>,
164 <ulink url="http://www.gnu.org/software/hp2xx/">hp2xx</ulink>,
165 <ulink url="http://user.it.uu.se/~jan/html2ps.html">html2ps</ulink>,
166 <ulink url="http://wvware.sourceforge.net/">libwmf</ulink>,
167 <ulink url="http://www.mpeg.org/MSSG/">MPEG-2 Video Codec</ulink>,
168 <ulink url="http://netpbm.sourceforge.net/">Netpbm</ulink>,
169 <!--<xref linkend="tetex"/> or--> <xref linkend="texlive"/>,
170 <ulink url="http://www.xfig.org/">Transfig</ulink>,
171 <ulink url="http://txt2html.sourceforge.net/">txt2html</ulink>
172 (requires Perl Module
173 <ulink url="http://cpan.org/authors/id/J/JS/JSTENZEL/Getopt-ArgvFile-1.11.tar.gz">
174 Getopt::ArgvFile</ulink>), and
175 <ulink url="http://www.cs.utah.edu/gdc/projects/urt/">Utah Raster Toolkit</ulink>
176 <!-- url="http://www.funet.fi/pub/graphics/packages/Utah-Raster-Toolkit/rel3/urt-3.1b.mlg.tar.gz"> -->
177 (or <ulink url="http://www.mcmurchy.com/urt/urt-3.1b.tar.gz">URT-3.1b</ulink>)
178 </para>
179
180 <para condition="html" role="usernotes">User Notes:
181 <ulink url="&blfs-wiki;/imagemagick"/></para>
182
183 </sect2>
184
185 <sect2 role="installation">
186 <title>Installation of ImageMagick</title>
187
188 <para>Install <application>Imagemagick</application> by running the following
189 commands:</para>
190
191<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc \
192 --with-modules &amp;&amp;
193make</userinput></screen>
194
195 <para>If you wish to build the <application>PerlMagick</application>
196 <application>perl</application> module, use the following commands:</para>
197
198<screen><userinput>cd PerlMagick &amp;&amp;
199perl Makefile.PL &amp;&amp;
200make &amp;&amp;
201cd ..</userinput></screen>
202
203 <para>To test the results, issue: <command>make check</command>. Note that
204 many of the tests require a working <application>ghostscript</application>.</para>
205
206 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
207
208<screen role="root"><userinput>make install</userinput></screen>
209
210 <para>And, if you built PerlMagick, still as the
211 <systemitem class="username">root</systemitem> user:</para>
212
213<screen role="root"><userinput>make -C PerlMagick install</userinput></screen>
214
215 <!-- Commenting this out for now as it is redundant to information
216 that has already been presented, or is in the 'command explanations'
217 section below.
218 <sect3>
219 <title>Additional Configure Options</title>
220
221 <para>There are additional switches that can be passed to
222 <application>ImageMagick</application> to customize the installation to
223 your needs. See <filename>advanced-unix-installation.html</filename> in
224 the <filename class='directory'>www</filename> directory.</para>
225
226 </sect3>
227 -->
228
229 </sect2>
230
231 <sect2 role="commands">
232 <title>Command Explanations</title>
233
234 <para><parameter>--sysconfdir=/etc</parameter>: Put the directory of xml (and
235 .icc) files at <filename class='directory'>/etc/ImageMagick</filename> instead of
236 <filename class='directory'>/usr/etc/ImageMagick</filename>.</para>
237
238 <para><parameter>--with-modules</parameter>: Enables support for dynamically
239 loadable modules.</para>
240
241 <para><option>--with-gslib=/usr/lib</option>: Enables support to use the
242 Ghostscript shared library.</para>
243
244 <para><option>--with-fpx</option>: Enables support to use the FlashPix
245 library.</para>
246
247 <para><option>--with-windows-font-dir=<replaceable>&lt;Some/Directory&gt;</replaceable></option>:
248 This option specifies the directory where the Windows CoreFonts are
249 installed.</para>
250
251 <para>The options and parameters listed above are the only ones you should
252 have to pass to the <command>configure</command> script to activate all the
253 delegate dependencies. All other dependencies will be automatically
254 detected and utilized in the build if they are installed.</para>
255
256 <para><option>--disable-static</option>: This switch prevents
257 the static libraries being built.</para>
258
259 </sect2>
260
261 <sect2 role="content">
262 <title>Contents</title>
263
264 <segmentedlist>
265 <segtitle>Installed Programs</segtitle>
266 <segtitle>Installed Libraries</segtitle>
267 <segtitle>Installed Directories</segtitle>
268
269 <seglistitem>
270 <seg>animate, compare, composite, conjure, convert, display,
271 identify, import, Magick++-config, Magick-config, MagickCore-config,
272 MagickWand-config, mogrify, montage, stream, and Wand-config</seg>
273 <seg>libMagick.{so,a}, libMagickCore.{so,a} libMagick++.{so,a},
274 libMagickWand.{so,a}, optionally the Magick.so Perl module, and
275 numerous plugin modules</seg>
276 <seg>/usr/include/Magick++, /usr/include/magick, /usr/include/wand,
277 /usr/lib/ImageMagick-&imagemagick-version;,
278 /usr/lib/perl5/site_perl/&lfs-perl-version;/auto/Image,
279 /usr/lib/perl5/site_perl/&lfs-perl-version;/Image/Magick,
280 /usr/share/ImageMagick-&imagemagick-version; and
281 /usr/share/doc/ImageMagick-&imagemagick-version;</seg>
282 </seglistitem>
283 </segmentedlist>
284
285 <variablelist>
286 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
287 <?dbfo list-presentation="list"?>
288 <?dbhtml list-presentation="table"?>
289
290 <varlistentry id="animate">
291 <term><command>animate</command></term>
292 <listitem>
293 <para>animates a sequence of images.</para>
294 <indexterm zone="imagemagick animate">
295 <primary sortas="b-animate">animate</primary>
296 </indexterm>
297 </listitem>
298 </varlistentry>
299
300 <varlistentry id="compare">
301 <term><command>compare</command></term>
302 <listitem>
303 <para>compares an image to a reconstructed image.</para>
304 <indexterm zone="imagemagick compare">
305 <primary sortas="b-compare">compare</primary>
306 </indexterm>
307 </listitem>
308 </varlistentry>
309
310 <varlistentry id="composite">
311 <term><command>composite</command></term>
312 <listitem>
313 <para>composites various images into the given base image.</para>
314 <indexterm zone="imagemagick composite">
315 <primary sortas="b-composite">composite</primary>
316 </indexterm>
317 </listitem>
318 </varlistentry>
319
320 <varlistentry id="conjure">
321 <term><command>conjure</command></term>
322 <listitem>
323 <para>processes a MSL script to create an image.</para>
324 <indexterm zone="imagemagick conjure">
325 <primary sortas="b-conjure">conjure</primary>
326 </indexterm>
327 </listitem>
328 </varlistentry>
329
330 <varlistentry id="convert">
331 <term><command>convert</command></term>
332 <listitem>
333 <para>converts image(s) from one format to another.</para>
334 <indexterm zone="imagemagick convert">
335 <primary sortas="b-convert">convert</primary>
336 </indexterm>
337 </listitem>
338 </varlistentry>
339
340 <varlistentry id="display">
341 <term><command>display</command></term>
342 <listitem>
343 <para>displays an image.</para>
344 <indexterm zone="imagemagick display">
345 <primary sortas="b-display">display</primary>
346 </indexterm>
347 </listitem>
348 </varlistentry>
349
350 <varlistentry id="identify">
351 <term><command>identify</command></term>
352 <listitem>
353 <para>describes the format and characteristics of an image file.</para>
354 <indexterm zone="imagemagick identify">
355 <primary sortas="b-identify">identify</primary>
356 </indexterm>
357 </listitem>
358 </varlistentry>
359
360 <varlistentry id="import">
361 <term><command>import</command></term>
362 <listitem>
363 <para>captures an X window.</para>
364 <indexterm zone="imagemagick import">
365 <primary sortas="b-import">import</primary>
366 </indexterm>
367 </listitem>
368 </varlistentry>
369
370 <varlistentry id="magick-config">
371 <term><command>Magick-config</command> and
372 <command>Magick++-config, MagickCore-config, MagickWand-config</command></term>
373 <listitem>
374 <para>show information about the installed versions of the
375 <application>ImageMagick</application> Magick++, MagickCore and MagickWand libraries.</para>
376 <indexterm zone="imagemagick magick-config">
377 <primary sortas="b-Magick-config">Magick-config</primary>
378 </indexterm>
379 </listitem>
380 </varlistentry>
381
382 <varlistentry id="mogrify">
383 <term><command>mogrify</command></term>
384 <listitem>
385 <para>transforms an image.</para>
386 <indexterm zone="imagemagick mogrify">
387 <primary sortas="b-mogrify">mogrify</primary>
388 </indexterm>
389 </listitem>
390 </varlistentry>
391
392 <varlistentry id="montage">
393 <term><command>montage</command></term>
394 <listitem>
395 <para>composites various images into a new image.</para>
396 <indexterm zone="imagemagick montage">
397 <primary sortas="b-montage">montage</primary>
398 </indexterm>
399 </listitem>
400 </varlistentry>
401
402 <varlistentry id="stream">
403 <term><command>stream</command></term>
404 <listitem>
405 <para>streams one or more pixel components of an image or
406 portion of the image to your choice of storage formats.</para>
407 <indexterm zone="imagemagick stream">
408 <primary sortas="b-stream">stream</primary>
409 </indexterm>
410 </listitem>
411 </varlistentry>
412
413 <varlistentry id="wand-config">
414 <term><command>Wand-config</command></term>
415 <listitem>
416 <para>shows the options required to use the Wand library.</para>
417 <indexterm zone="imagemagick wand-config">
418 <primary sortas="b-Wand-config">Wand-config</primary>
419 </indexterm>
420 </listitem>
421 </varlistentry>
422
423 <varlistentry id="perlmagick">
424 <term><filename class='libraryfile'>Image::Magick</filename></term>
425 <listitem>
426 <para>allows the reading, manipulation and writing of a large number of
427 image file formats using the <application>ImageMagick</application>
428 library. Run <command>make</command> in the
429 <filename class='directory'>PerlMagick/demo</filename> directory of
430 the package source tree after the package is installed to see a nice
431 demo of the module's capabilities.</para>
432 <indexterm zone="imagemagick perlmagick">
433 <primary sortas="g-Image-Magick">Image::Magick</primary>
434 </indexterm>
435 </listitem>
436 </varlistentry>
437
438 </variablelist>
439
440 </sect2>
441
442</sect1>
Note: See TracBrowser for help on using the repository browser.