glfs/general/graphlib/libjpeg.xml
Manuel Canales Esparcia c9565393c2 Tagged libjpeg.xml
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3956 af4574ff-66df-0310-9fd7-8a98e5e911e0
2005-05-03 21:15:13 +00:00

189 lines
5.9 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY libjpeg-download-http "http://www.ijg.org/files/jpegsrc.v&libjpeg-version;.tar.gz">
<!ENTITY libjpeg-download-ftp "ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v&libjpeg-version;.tar.gz">
<!ENTITY libjpeg-md5sum "dbd5f3b47ed13132f04c685d608a7547">
<!ENTITY libjpeg-size "599 KB">
<!ENTITY libjpeg-buildsize "4.6 MB">
<!ENTITY libjpeg-time "0.15 SBU">
]>
<sect1 id="libjpeg" xreflabel="libjpeg-&libjpeg-version;">
<?dbhtml filename="libjpeg.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>Libjpeg-&libjpeg-version;</title>
<indexterm zone="libjpeg">
<primary sortas="a-Libjpeg">Libjpeg</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Libjpeg</title>
<para>The <application>libjpeg</application> package contains libraries
that allow compression of image files based on the Joint Photographic Experts
Group standard. It is a "lossy" compression algorithm.</para>
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&libjpeg-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&libjpeg-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &libjpeg-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &libjpeg-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &libjpeg-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &libjpeg-time;</para>
</listitem>
</itemizedlist>
</sect2>
<sect2 role="installation">
<title>Installation of Libjpeg</title>
<para>Install <application>libjpeg</application> by running the following
commands:</para>
<screen><userinput>./configure --prefix=/usr --enable-static --enable-shared &amp;&amp;
make</userinput></screen>
<para>To test the results, issue: <command>make test</command>.</para>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para><parameter>--enable-static --enable-shared</parameter>: These switches
tell <application>libjpeg</application> to build both shared and static
libraries.</para>
</sect2>
<sect2 role="configuration">
<title>Configuring Libjpeg</title>
<sect3>
<title>Configuration Information</title>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
</sect3>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>cjpeg, djpeg, jpegtran, rdjpgcom, and wrjpgcom</seg>
<seg>libjpeg.[so,a]</seg>
<seg>None</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="cjpeg">
<term><command>cjpeg</command></term>
<listitem>
<para>compresses image files to produce a JPEG/JFIF file on the
standard output. Currently supported input file formats are: PPM
(PBMPLUS color format), PGM (PBMPLUS gray-scale format),
BMP, and Targa.</para>
<indexterm zone="libjpeg cjpeg">
<primary sortas="b-cjpeg">cjpeg</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="djpeg">
<term><command>djpeg</command></term>
<listitem>
<para>decompresses image files from JPEG/JFIF format to either
PPM (PBMPLUS color format), PGM (PBMPLUS gray-scale format),
BMP, or Targa format.</para>
<indexterm zone="libjpeg djpeg">
<primary sortas="b-djpeg">djpeg</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="jpegtran">
<term><command>jpegtran</command></term>
<listitem>
<para>is used for lossless transformation of JPEG files.</para>
<indexterm zone="libjpeg jpegtran">
<primary sortas="b-jpegtran">jpegtran</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="rdjpgcom">
<term><command>rdjpgcom</command></term>
<listitem>
<para>displays text comments from within a JPEG file.</para>
<indexterm zone="libjpeg rdjpgcom">
<primary sortas="b-rdjpgcom">rdjpgcom</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="wrjpgcom">
<term><command>wrjpgcom</command></term>
<listitem>
<para>inserts text comments into a JPEG file.</para>
<indexterm zone="libjpeg wrjpgcom">
<primary sortas="b-wrjpgcom">wrjpgcom</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libjpeg-lib">
<term><filename class='libraryfile'>libjpeg.[so,a]</filename></term>
<listitem>
<para>library is used by many programs for reading and writing
JPEG format files.</para>
<indexterm zone="libjpeg libjpeg-lib">
<primary sortas="c-libjpeg">libjpeg.[so,a]</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>