2004-06-13 06:56:28 +08:00
<?xml version="1.0" encoding="ISO-8859-1"?>
< !DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/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-size "599 KB">
<!ENTITY libjpeg-buildsize "3.7 MB">
<!ENTITY libjpeg-time "0.26 SBU">
]>
2002-07-08 04:28:42 +08:00
<sect1 id= "libjpeg" xreflabel= "libjpeg-&libjpeg-version;" >
2004-05-07 11:24:31 +08:00
<?dbhtml filename="libjpeg.html"?>
2002-07-08 04:28:42 +08:00
<title > libjpeg-&libjpeg-version; </title>
2004-06-13 06:56:28 +08:00
<sect2 >
<title > Introduction to <application > libjpeg</application> </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>
<sect3 > <title > Package information</title>
<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 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>
</sect3>
</sect2>
<sect2 >
<title > Installation of <application > libjpeg</application> </title>
<para > Install <application > libjpeg</application> by running the following commands:</para>
<screen > <userinput > <command > ./configure --enable-static --enable-shared --prefix=/usr & &
make & &
make install</command> </userinput> </screen>
</sect2>
<sect2 >
<title > Command explanations</title>
<para > <command > ./configure --enable-static --enable-shared --prefix=/usr</command> : This command tells libjpeg to build both shared and static libraries and
to install them with a base of <filename > /usr</filename> .</para>
</sect2>
<sect2 >
<title > Configuring <application > libjpeg</application> </title>
<sect3 > <title > Configuration Information</title>
<xi:include xmlns:xi= "http://www.w3.org/2003/XInclude" href= "../../lib-config.xml" />
</sect3>
</sect2>
<sect2 >
<title > Contents</title>
<para > The libjpeg package contains <command > cjpeg</command> ,
<command > djpeg</command> , <command > jpegtran</command> ,
<command > rdjpgcom</command> , <command > wrjpgcom</command> and
<filename > libjpeg</filename> libraries.</para>
</sect2>
<sect2 > <title > Description</title>
<sect3 > <title > cjpeg</title>
<para > <command > cjpeg</command> compresses image files to produce a
<acronym > JPEG</acronym> /<acronym > JFIF</acronym> file on the standard
output. Currently supported input file formats are:
<acronym > PPM</acronym> (PBMPLUS color
format), <acronym > PGM</acronym> (PBMPLUS gray-scale
format), <acronym > BMP</acronym> , and Targa.</para> </sect3>
<sect3 > <title > djpeg</title>
<para > <command > djpeg</command> decompresses image files from
<acronym > JPEG/JFIF</acronym> format to either <acronym > PPM</acronym>
(PBMPLUS color format), <acronym > PGM</acronym> (PBMPLUS gray-scale
format), <acronym > BMP</acronym> , or Targa
format.</para> </sect3>
<sect3 > <title > jpegtran</title>
<para > <command > jpegtran</command> is used for lossless transformation of
<acronym > JPEG</acronym> files.</para> </sect3>
<sect3 > <title > rdjpgcom</title>
<para > <command > rdjpgcom</command> displays text comments from within a
<acronym > JPEG</acronym> file.</para> </sect3>
<sect3 > <title > wrjpgcom</title>
<para > <command > wrjpgcom</command> inserts text comments into a
<acronym > JPEG</acronym> file.</para> </sect3>
<sect3 > <title > jpeg libraries</title>
<para > These libraries are used by many programs for reading and writing
jpeg format files.</para> </sect3>
</sect2>
2002-07-08 04:28:42 +08:00
</sect1>