source: general/genutils/imagemagick.xml@ c103832

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 c103832 was de3764f, checked in by Randy McMurchy <randy@…>, 19 years ago

Added a note about the frequent updates to the ImageMagick sources in the ImageMagick instructions

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

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