[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY libjpeg-download-http "http://www.ijg.org/files/jpegsrc.v&libjpeg-version;.tar.gz">
|
---|
| 8 | <!ENTITY libjpeg-download-ftp "ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v&libjpeg-version;.tar.gz">
|
---|
| 9 | <!ENTITY libjpeg-size "599 KB">
|
---|
| 10 | <!ENTITY libjpeg-buildsize "3.7 MB">
|
---|
| 11 | <!ENTITY libjpeg-time "0.26 SBU">
|
---|
| 12 | ]>
|
---|
| 13 |
|
---|
[f45b1953] | 14 | <sect1 id="libjpeg" xreflabel="libjpeg-&libjpeg-version;">
|
---|
[a0f03b0] | 15 | <sect1info>
|
---|
[5cd0959d] | 16 | <othername>$LastChangedBy$</othername>
|
---|
| 17 | <date>$Date$</date>
|
---|
[a0f03b0] | 18 | </sect1info>
|
---|
[dd3f20f0] | 19 | <?dbhtml filename="libjpeg.html"?>
|
---|
[f45b1953] | 20 | <title>libjpeg-&libjpeg-version;</title>
|
---|
| 21 |
|
---|
[52d29f7] | 22 | <sect2>
|
---|
| 23 | <title>Introduction to <application>libjpeg</application></title>
|
---|
[396508b] | 24 |
|
---|
[52d29f7] | 25 | <para>The <application>libjpeg</application> package contains libraries
|
---|
| 26 | that allow compression of image files based on the Joint Photographic Experts
|
---|
| 27 | Group standard. It is a "lossy" compression algorithm.</para>
|
---|
[396508b] | 28 |
|
---|
[52d29f7] | 29 | <sect3><title>Package information</title>
|
---|
| 30 | <itemizedlist spacing='compact'>
|
---|
| 31 | <listitem><para>Download (HTTP): <ulink url="&libjpeg-download-http;"/></para></listitem>
|
---|
| 32 | <listitem><para>Download (FTP): <ulink url="&libjpeg-download-ftp;"/></para></listitem>
|
---|
| 33 | <listitem><para>Download size: &libjpeg-size;</para></listitem>
|
---|
[396508b] | 34 | <listitem><para>Estimated disk space required: &libjpeg-buildsize;</para></listitem>
|
---|
[52d29f7] | 35 | <listitem><para>Estimated build time: &libjpeg-time;</para></listitem></itemizedlist>
|
---|
| 36 | </sect3>
|
---|
[396508b] | 37 |
|
---|
[52d29f7] | 38 | </sect2>
|
---|
| 39 |
|
---|
| 40 | <sect2>
|
---|
| 41 | <title>Installation of <application>libjpeg</application></title>
|
---|
[396508b] | 42 |
|
---|
| 43 | <para>Install <application>libjpeg</application> by running the following
|
---|
| 44 | commands:</para>
|
---|
| 45 |
|
---|
[a8599ff] | 46 | <screen><userinput><command>./configure --prefix=/usr --enable-static --enable-shared &&
|
---|
[52d29f7] | 47 | make &&
|
---|
| 48 | make install</command></userinput></screen>
|
---|
[396508b] | 49 |
|
---|
[52d29f7] | 50 | </sect2>
|
---|
| 51 |
|
---|
| 52 | <sect2>
|
---|
| 53 | <title>Command explanations</title>
|
---|
[396508b] | 54 |
|
---|
[a8599ff] | 55 | <para><parameter>--enable-static --enable-shared</parameter>: These switches
|
---|
| 56 | tell libjpeg to build both shared and static libraries.</para>
|
---|
[396508b] | 57 |
|
---|
[52d29f7] | 58 | </sect2>
|
---|
| 59 |
|
---|
| 60 | <sect2>
|
---|
| 61 | <title>Configuring <application>libjpeg</application></title>
|
---|
[396508b] | 62 |
|
---|
[52d29f7] | 63 | <sect3><title>Configuration Information</title>
|
---|
[396508b] | 64 |
|
---|
| 65 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
|
---|
| 66 |
|
---|
[52d29f7] | 67 | </sect3>
|
---|
[396508b] | 68 |
|
---|
[52d29f7] | 69 | </sect2>
|
---|
| 70 |
|
---|
| 71 | <sect2>
|
---|
| 72 | <title>Contents</title>
|
---|
[396508b] | 73 |
|
---|
[52d29f7] | 74 | <para>The libjpeg package contains <command>cjpeg</command>,
|
---|
| 75 | <command>djpeg</command>, <command>jpegtran</command>,
|
---|
| 76 | <command>rdjpgcom</command>, <command>wrjpgcom</command> and
|
---|
| 77 | <filename>libjpeg</filename> libraries.</para>
|
---|
[396508b] | 78 |
|
---|
[52d29f7] | 79 | </sect2>
|
---|
[396508b] | 80 |
|
---|
[52d29f7] | 81 | <sect2><title>Description</title>
|
---|
[396508b] | 82 |
|
---|
[52d29f7] | 83 | <sect3><title>cjpeg</title>
|
---|
| 84 | <para><command>cjpeg</command> compresses image files to produce a
|
---|
| 85 | <acronym>JPEG</acronym>/<acronym>JFIF</acronym> file on the standard
|
---|
| 86 | output. Currently supported input file formats are:
|
---|
| 87 | <acronym>PPM</acronym> (PBMPLUS color
|
---|
| 88 | format), <acronym>PGM</acronym> (PBMPLUS gray-scale
|
---|
| 89 | format), <acronym>BMP</acronym>, and Targa.</para></sect3>
|
---|
[396508b] | 90 |
|
---|
[52d29f7] | 91 | <sect3><title>djpeg</title>
|
---|
| 92 | <para><command>djpeg</command> decompresses image files from
|
---|
| 93 | <acronym>JPEG/JFIF</acronym> format to either <acronym>PPM</acronym>
|
---|
| 94 | (PBMPLUS color format), <acronym>PGM</acronym> (PBMPLUS gray-scale
|
---|
| 95 | format), <acronym>BMP</acronym>, or Targa
|
---|
| 96 | format.</para></sect3>
|
---|
[396508b] | 97 |
|
---|
[52d29f7] | 98 | <sect3><title>jpegtran</title>
|
---|
| 99 | <para><command>jpegtran</command> is used for lossless transformation of
|
---|
| 100 | <acronym>JPEG</acronym> files.</para></sect3>
|
---|
[396508b] | 101 |
|
---|
[52d29f7] | 102 | <sect3><title>rdjpgcom</title>
|
---|
| 103 | <para><command>rdjpgcom</command> displays text comments from within a
|
---|
| 104 | <acronym>JPEG</acronym> file.</para></sect3>
|
---|
[396508b] | 105 |
|
---|
[52d29f7] | 106 | <sect3><title>wrjpgcom</title>
|
---|
| 107 | <para><command>wrjpgcom</command> inserts text comments into a
|
---|
| 108 | <acronym>JPEG</acronym> file.</para></sect3>
|
---|
[396508b] | 109 |
|
---|
[52d29f7] | 110 | <sect3><title>jpeg libraries</title>
|
---|
| 111 | <para>These libraries are used by many programs for reading and writing
|
---|
| 112 | jpeg format files.</para></sect3>
|
---|
[396508b] | 113 |
|
---|
[52d29f7] | 114 | </sect2>
|
---|
[f45b1953] | 115 |
|
---|
| 116 | </sect1>
|
---|