source: general/genutils/imagemagick.xml@ e50cece

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since e50cece was 371ff30, checked in by DJ Lucas <dj@…>, 19 years ago

several cleanups-Xorg7 related

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

  • Property mode set to 100644
File size: 15.0 KB
RevLine 
[52d29f7]1<?xml version="1.0" encoding="ISO-8859-1"?>
[ff769b8c]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
[52d29f7]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[a2de57a7]7 <!ENTITY imagemagick-patch-version "5">
[67ab537]8 <!ENTITY imagemagick-download-http "http://www.imagemagick.org/download/ImageMagick-&imagemagick-version;-&imagemagick-patch-version;.tar.bz2">
9 <!ENTITY imagemagick-download-ftp "ftp://ftp.imagemagick.net/pub/ImageMagick/ImageMagick-&imagemagick-version;-&imagemagick-patch-version;.tar.bz2">
[744e7e9]10 <!ENTITY imagemagick-md5sum "eaee90992c8cf36f1f5fc6c887d73897">
11 <!ENTITY imagemagick-size "5.0 MB">
12 <!ENTITY imagemagick-buildsize "158 MB (additional 68 MB if you run the Image::Magick demo)">
13 <!ENTITY imagemagick-time "3.2 SBU (Additional 1.2 SBU to run the test suite)">
[52d29f7]14]>
15
[8d77de6]16<sect1 id="imagemagick"
[93d2c72]17xreflabel="ImageMagick-&imagemagick-version;-&imagemagick-patch-version;">
[db656dd]18 <?dbhtml filename="imagemagick.html"?>
[fc7afd0c]19
[db656dd]20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
[52d50d5]23 <keywordset>
24 <keyword role="package">ImageMagick-&imagemagick-version;-&imagemagick-patch-version;.tar</keyword>
[22ac237]25 <keyword role="ftpdir">ImageMagick</keyword>
[52d50d5]26 </keywordset>
[db656dd]27 </sect1info>
[fc7afd0c]28
[db656dd]29 <title>ImageMagick-&imagemagick-version;-&imagemagick-patch-version;</title>
[fc7afd0c]30
[db656dd]31 <indexterm zone="imagemagick">
32 <primary sortas="a-ImageMagick">ImageMagick</primary>
33 </indexterm>
34
35 <sect2 role="package">
36 <title>Introduction to ImageMagick</title>
[fc7afd0c]37
[8d77de6]38 <para><application>ImageMagick</application> is a collection of tools and
39 libraries to read, write, and manipulate an image in various image formats.
40 Image processing operations are available from the command line. Bindings
[db656dd]41 to various programming languages are also available.</para>
[fc7afd0c]42
[db656dd]43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
46 <para>Download (HTTP): <ulink url="&imagemagick-download-http;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download (FTP): <ulink url="&imagemagick-download-ftp;"/></para>
50 </listitem>
51 <listitem>
52 <para>Download MD5 sum: &imagemagick-md5sum;</para>
53 </listitem>
54 <listitem>
55 <para>Download size: &imagemagick-size;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated disk space required: &imagemagick-buildsize;</para>
59 </listitem>
60 <listitem>
61 <para>Estimated build time: &imagemagick-time;</para>
62 </listitem>
63 </itemizedlist>
[fc7afd0c]64
[de3764f]65 <para>The <application>ImageMagick</application> source releases are
66 updated frequently and the version shown above may no longer be available
67 from the download locations. You can download a more recent version and use
68 the existing BLFS instructions to install it. Chances are that it will
69 work just fine, but this has not been tested by the BLFS team. If the
70 package version shown above is not available from the locations shown
71 above, you can download it from the BLFS package server at
[60a31248]72 <ulink
73 url="&sources-anduin-http;/i/ImageMagick-&imagemagick-version;-&imagemagick-patch-version;.tar.bz2"/>.
74 </para>
[de3764f]75
[db656dd]76 <bridgehead renderas="sect3">ImageMagick Dependencies</bridgehead>
[fc7afd0c]77
[6cc3f39]78 <bridgehead renderas="sect4">Recommended</bridgehead>
[371ff30]79 <para role="recommended">X (<xref linkend="xfree86"/>,
80 <xref linkend="xorg"/>, or <xref linkend="xorg7"/>)</para>
[fc7afd0c]81
[744e7e9]82 <para>The optional dependencies listed below should be installed if you
83 need support for the specific format or the conversion tool the dependency
84 provides. Many of the dependencies' capabilities and uses are described in
85 the <quote>MAGICK DELEGATES</quote> section of the
86 <filename>README.txt</filename> file located in the source tree. Additional
87 information about the dependencies can be found in the
88 <filename>Install-unix.txt</filename> file located in the source tree as
89 well as issuing the <command>./configure --help</command> command. A
90 summary of this information, as well as some additional notes can be viewed
91 on-line at <ulink
92 url="http://www.imagemagick.org/script/advanced-unix-installation.php"/>.</para>
93
94 <bridgehead renderas="sect4">Optional System Utilities</bridgehead>
95 <para role="optional">
96 <xref linkend="cups"/> or <xref linkend="LPRng"/> (or any other print
97 utility that provides an <command>lpr</command> command),
98 <ulink url="http://www.cybercom.net/~dcoffin/dcraw/">DCRaw</ulink>,
99 <ulink url="http://dmalloc.com/">Dmalloc</ulink>,
100 <ulink url="http://perens.com/FreeSoftware/">Electric Fence</ulink>,
101 <ulink url="http://www.gsp.com/support/virtual/email/pgp/">PGP</ulink>
102 or <xref linkend="gnupg"/> (you'll have to do some hacking to use
103 <application>GnuPG</application>),
104 <xref linkend="sane"/>, and
105 <xref linkend="wget"/>
106 </para>
107
108 <bridgehead renderas="sect4">Optional Graphics Libraries</bridgehead>
109 <para role="optional">
110 <ulink url="http://corefonts.sourceforge.net/">corefonts</ulink>,
[8d77de6]111 <ulink url="http://www.i3a.org/i_flashpix.html">FlashPIX</ulink> (or
[d1b975a]112 <ulink url="ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/libfpx-1.2.0.13.tar.bz2">
[8d77de6]113 FlashPIX library</ulink>),
[744e7e9]114 <xref linkend="freetype2"/>,
[8d77de6]115 <ulink url="http://www.ece.uvic.ca/~mdadams/jasper/">Jasper</ulink>,
116 <ulink url="http://www.cl.cam.ac.uk/~mgk25/jbigkit/">JBIG-KIT</ulink>,
[744e7e9]117 <xref linkend="lcms"/>,
118 <xref linkend="libexif"/>,
119 <xref linkend="libjpeg"/>,
120 <xref linkend="libpng"/>,
121 <xref linkend="libtiff"/>,
122 <xref linkend="libxml2"/>, and
123 <ulink url="http://www.agocg.ac.uk/train/cgm/ralcgm.htm">RALCGM</ulink>
124 </para>
125
126 <bridgehead renderas="sect4">Optional Graphics Utilities</bridgehead>
127 <para role="optional">
128 <xref linkend="espgs"/> or <xref linkend="gs"/>,
129 <ulink url="http://www.artifex.com/downloads/">GhostPCL</ulink>,
130 <xref linkend="gimp"/>,
[8d77de6]131 <ulink url="http://www.gnuplot.info/">Gnuplot</ulink>,
[744e7e9]132 <ulink url="http://www.graphviz.org/">GraphViz</ulink>,
133 <ulink url="http://www.povray.org/">POV-Ray</ulink>, and
134 <ulink url="http://radsite.lbl.gov/radiance/HOME.html">Radiance</ulink>
135 </para>
136
137 <bridgehead renderas="sect4">Optional Conversion Tools</bridgehead>
138 <para role="optional">
139 <ulink url="http://autotrace.sourceforge.net/">AutoTrace</ulink>,
140 <xref linkend="enscript"/>,
[8d77de6]141 <ulink url="http://www.gnu.org/software/hp2xx/">hp2xx</ulink>,
142 <ulink url="http://user.it.uu.se/~jan/html2ps.html">html2ps</ulink>,
[744e7e9]143 <ulink url="http://wvware.sourceforge.net/">libwmf</ulink>,
[8d77de6]144 <ulink url="http://www.mpeg.org/MSSG/">MPEG-2 Video Codec</ulink>,
[744e7e9]145 <ulink url="http://netpbm.sourceforge.net/">Netpbm</ulink>,
146 <xref linkend="tex"/>,
147 <ulink url="http://www.xfig.org/">Transfig</ulink>,
148 <ulink url="http://txt2html.sourceforge.net/">txt2html</ulink>
149 (requires <xref linkend="perl-module-build"/> and Perl Module
150 <ulink url="http://cpan.org/authors/id/J/JS/JSTENZEL/Getopt-ArgvFile-1.10.tgz">
151 Getopt::ArgvFile</ulink>), and
[fc7afd0c]152 <ulink url="http://www.cs.utah.edu/gdc/projects/urt/">Utah Raster Toolkit</ulink>
[8d77de6]153 (or <ulink
[db656dd]154 url="http://www.funet.fi/pub/graphics/packages/Utah-Raster-Toolkit/rel3/urt-3.1b.mlg.tar.gz">
[744e7e9]155 source</ulink>)
156 </para>
[fc7afd0c]157
[db656dd]158 </sect2>
[fc7afd0c]159
[db656dd]160 <sect2 role="installation">
161 <title>Installation of ImageMagick</title>
162
163 <para>Install <application>Imagemagick</application> by running the following
164 commands:</para>
165
[6cc3f39]166<screen><userinput>./configure --prefix=/usr --with-modules &amp;&amp;
[db656dd]167make</userinput></screen>
[fc7afd0c]168
[744e7e9]169 <para>To test the results, issue: <command>make check</command>. Note that
170 as many as 17% of the tests may fail due to system and/or build parameter
171 settings.</para>
[6cc3f39]172
[f503cd16]173 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
[fc7afd0c]174
[db656dd]175<screen role="root"><userinput>make install</userinput></screen>
176
[744e7e9]177 <!-- Commenting this out for now as it is redundant to information
178 that has already been presented, or is in the 'command explanations'
179 section below.
[db656dd]180 <sect3>
181 <title>Additional Configure Options</title>
[fc7afd0c]182
[8d77de6]183 <para>There are additional switches that can be passed to
[aa07b6c]184 <application>ImageMagick</application> to customize the installation to
[a2de57a7]185 your needs. See <filename>advanced-unix-installation.html</filename> in
186 the <filename class='directory'>www</filename> directory.</para>
[fc7afd0c]187
[db656dd]188 </sect3>
[744e7e9]189 -->
[fc7afd0c]190
[db656dd]191 </sect2>
[fc7afd0c]192
[db656dd]193 <sect2 role="commands">
194 <title>Command Explanations</title>
195
[8d77de6]196 <para><parameter>--with-modules</parameter>: Enables support for dynamically
[db656dd]197 loadable modules.</para>
[fc7afd0c]198
[744e7e9]199 <para><option>--with-gslib=/usr/lib</option>: Enables support to use the
200 Ghostscript shared library.</para>
201
202 <para><option>--with-fpx</option>: Enables support to use the FlashPix
203 library.</para>
204
205 <para><option>--with-windows-font-dir=<replaceable>[Some/Directory]</replaceable></option>:
206 This option specifies the directory where the Windows CoreFonts are
207 installed.</para>
208
209 <para>The options and parameters listed above are the only ones you should
210 have to pass to the <command>configure</command> script to activate all the
211 delegate dependencies. All other dependencies will be automatically
212 detected and utilized in the build if they are installed.</para>
213
[db656dd]214 </sect2>
[fc7afd0c]215
[db656dd]216 <sect2 role="content">
217 <title>Contents</title>
218
219 <segmentedlist>
220 <segtitle>Installed Programs</segtitle>
221 <segtitle>Installed Libraries</segtitle>
222 <segtitle>Installed Directories</segtitle>
[fc7afd0c]223
[db656dd]224 <seglistitem>
225 <seg>animate, compare, composite, conjure, convert, display,
226 identify, import, Magick-config, Magick++-config, mogrify,
227 montage, and Wand-config</seg>
[8d77de6]228 <seg>libMagick.[so,a], libMagick++.[so,a], libWand.[so,a],
[a2de57a7]229 the Magick.so Perl module, and numerous plugin modules</seg>
[6cc3f39]230 <seg>/usr/include/Magick++, /usr/include/magick, /usr/include/wand,
[8d77de6]231 /usr/lib/ImageMagick-&imagemagick-version;,
[6cc3f39]232 /usr/lib/perl5/site_perl/&LFS-Perl-version;/i686-linux/auto/Image/Magick,
233 /usr/share/ImageMagick-&imagemagick-version; and
234 /usr/share/doc/ImageMagick-&imagemagick-version;</seg>
[db656dd]235 </seglistitem>
236 </segmentedlist>
[fc7afd0c]237
[db656dd]238 <variablelist>
239 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
[fc7afd0c]240 <?dbfo list-presentation="list"?>
[db656dd]241 <?dbhtml list-presentation="table"?>
[fc7afd0c]242
[db656dd]243 <varlistentry id="animate">
244 <term><command>animate</command></term>
245 <listitem>
246 <para>animates a sequence of images.</para>
247 <indexterm zone="imagemagick animate">
248 <primary sortas="b-animate">animate</primary>
249 </indexterm>
250 </listitem>
251 </varlistentry>
[fc7afd0c]252
[db656dd]253 <varlistentry id="compare">
254 <term><command>compare</command></term>
255 <listitem>
256 <para>compares an image to a reconstructed image.</para>
257 <indexterm zone="imagemagick compare">
258 <primary sortas="b-compare">compare</primary>
259 </indexterm>
260 </listitem>
261 </varlistentry>
[fc7afd0c]262
[db656dd]263 <varlistentry id="composite">
264 <term><command>composite</command></term>
265 <listitem>
266 <para>composites various images into the given base image.</para>
267 <indexterm zone="imagemagick composite">
268 <primary sortas="b-composite">composite</primary>
269 </indexterm>
270 </listitem>
271 </varlistentry>
[fc7afd0c]272
[db656dd]273 <varlistentry id="conjure">
274 <term><command>conjure</command></term>
275 <listitem>
276 <para>processes a MSL script to create an image.</para>
277 <indexterm zone="imagemagick conjure">
278 <primary sortas="b-conjure">conjure</primary>
279 </indexterm>
280 </listitem>
281 </varlistentry>
[fc7afd0c]282
[db656dd]283 <varlistentry id="convert">
284 <term><command>convert</command></term>
285 <listitem>
286 <para>converts image(s) from one format to another.</para>
287 <indexterm zone="imagemagick convert">
288 <primary sortas="b-convert">convert</primary>
289 </indexterm>
290 </listitem>
291 </varlistentry>
[fc7afd0c]292
[db656dd]293 <varlistentry id="display">
294 <term><command>display</command></term>
295 <listitem>
296 <para>displays an image.</para>
297 <indexterm zone="imagemagick display">
298 <primary sortas="b-display">display</primary>
299 </indexterm>
300 </listitem>
301 </varlistentry>
[fc7afd0c]302
[db656dd]303 <varlistentry id="identify">
304 <term><command>identify</command></term>
305 <listitem>
306 <para>describes the format and characteristics of an image file.</para>
307 <indexterm zone="imagemagick identify">
308 <primary sortas="b-identify">identify</primary>
309 </indexterm>
310 </listitem>
311 </varlistentry>
[fc7afd0c]312
[db656dd]313 <varlistentry id="import">
314 <term><command>import</command></term>
315 <listitem>
316 <para>captures an X window.</para>
317 <indexterm zone="imagemagick import">
318 <primary sortas="b-import">import</primary>
319 </indexterm>
320 </listitem>
321 </varlistentry>
[fc7afd0c]322
[db656dd]323 <varlistentry id="magick-config">
[8d77de6]324 <term><command>Magick-config</command> and
[db656dd]325 <command>Magick++-config</command></term>
326 <listitem>
327 <para>show information about the installed versions of
328 <application>ImageMagick</application> and Magick++.</para>
329 <indexterm zone="imagemagick magick-config">
330 <primary sortas="b-Magick-config">Magick-config</primary>
331 </indexterm>
332 </listitem>
333 </varlistentry>
[fc7afd0c]334
[db656dd]335 <varlistentry id="mogrify">
336 <term><command>mogrify</command></term>
337 <listitem>
338 <para>transforms an image.</para>
339 <indexterm zone="imagemagick mogrify">
340 <primary sortas="b-mogrify">mogrify</primary>
341 </indexterm>
342 </listitem>
343 </varlistentry>
[fc7afd0c]344
[db656dd]345 <varlistentry id="montage">
346 <term><command>montage</command></term>
347 <listitem>
348 <para>composites various images into a new image.</para>
349 <indexterm zone="imagemagick montage">
350 <primary sortas="b-montage">montage</primary>
351 </indexterm>
352 </listitem>
353 </varlistentry>
[fc7afd0c]354
[db656dd]355 <varlistentry id="wand-config">
356 <term><command>Wand-config</command></term>
357 <listitem>
358 <para>shows the options required to use the Wand library.</para>
359 <indexterm zone="imagemagick wand-config">
360 <primary sortas="b-Wand-config">Wand-config</primary>
361 </indexterm>
362 </listitem>
363 </varlistentry>
[fc7afd0c]364
[db656dd]365 <varlistentry id="perlmagick">
366 <term><filename class='libraryfile'>Image::Magick</filename></term>
367 <listitem>
[8d77de6]368 <para>allows the reading, manipulation and writing of a large number of
[fc7afd0c]369 image file formats using the <application>ImageMagick</application>
[8d77de6]370 library. Run <command>make</command> in the
371 <filename class='directory'>PerlMagick/demo</filename> directory of
[6cc3f39]372 the package source tree after the package is installed to see a nice
373 demo of the module's capabilities.</para>
[db656dd]374 <indexterm zone="imagemagick perlmagick">
375 <primary sortas="g-Image-Magick">Image::Magick</primary>
376 </indexterm>
377 </listitem>
378 </varlistentry>
[fc7afd0c]379
[db656dd]380 </variablelist>
381
382 </sect2>
[f828f6a]383
384</sect1>
Note: See TracBrowser for help on using the repository browser.