source: general/genutils/imagemagick.xml@ eab03ca

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 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 eab03ca was 09bd4be1, checked in by Ag Hatzimanikas <ag@…>, 17 years ago

Fixed incorrect sed in command explanations, in ImageMagick instructions. Thanks to kratz00 for the report.

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

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