source: general/genutils/imagemagick.xml@ fa7fc68

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

Archive lprng and jadetex

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

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