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