[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[86af98a] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
[52d29f7] | 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">
|
---|
[524ce73] | 11 | <!ENTITY libjpeg-buildsize "4.6 MB">
|
---|
| 12 | <!ENTITY libjpeg-time "0.15 SBU">
|
---|
[52d29f7] | 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>
|
---|
[524ce73] | 22 | <indexterm zone="libjpeg">
|
---|
| 23 | <primary sortas="a-Libjpeg">Libjpeg</primary></indexterm>
|
---|
[f45b1953] | 24 |
|
---|
[52d29f7] | 25 | <sect2>
|
---|
| 26 | <title>Introduction to <application>libjpeg</application></title>
|
---|
[396508b] | 27 |
|
---|
[52d29f7] | 28 | <para>The <application>libjpeg</application> package contains libraries
|
---|
| 29 | that allow compression of image files based on the Joint Photographic Experts
|
---|
| 30 | Group standard. It is a "lossy" compression algorithm.</para>
|
---|
[396508b] | 31 |
|
---|
[52d29f7] | 32 | <sect3><title>Package information</title>
|
---|
| 33 | <itemizedlist spacing='compact'>
|
---|
[d97499f] | 34 | <listitem><para>Download (HTTP):
|
---|
| 35 | <ulink url="&libjpeg-download-http;"/></para></listitem>
|
---|
| 36 | <listitem><para>Download (FTP):
|
---|
| 37 | <ulink url="&libjpeg-download-ftp;"/></para></listitem>
|
---|
| 38 | <listitem><para>Download MD5 sum: &libjpeg-md5sum;</para></listitem>
|
---|
[52d29f7] | 39 | <listitem><para>Download size: &libjpeg-size;</para></listitem>
|
---|
[d97499f] | 40 | <listitem><para>Estimated disk space required:
|
---|
| 41 | &libjpeg-buildsize;</para></listitem>
|
---|
| 42 | <listitem><para>Estimated build time:
|
---|
| 43 | &libjpeg-time;</para></listitem></itemizedlist>
|
---|
[52d29f7] | 44 | </sect3>
|
---|
[396508b] | 45 |
|
---|
[52d29f7] | 46 | </sect2>
|
---|
| 47 |
|
---|
| 48 | <sect2>
|
---|
| 49 | <title>Installation of <application>libjpeg</application></title>
|
---|
[396508b] | 50 |
|
---|
| 51 | <para>Install <application>libjpeg</application> by running the following
|
---|
| 52 | commands:</para>
|
---|
| 53 |
|
---|
[a8599ff] | 54 | <screen><userinput><command>./configure --prefix=/usr --enable-static --enable-shared &&
|
---|
[524ce73] | 55 | make</command></userinput></screen>
|
---|
| 56 |
|
---|
| 57 | <para>Now, as the root user:</para>
|
---|
| 58 |
|
---|
| 59 | <screen><userinput role='root'><command>make install</command></userinput></screen>
|
---|
[396508b] | 60 |
|
---|
[52d29f7] | 61 | </sect2>
|
---|
| 62 |
|
---|
| 63 | <sect2>
|
---|
| 64 | <title>Command explanations</title>
|
---|
[396508b] | 65 |
|
---|
[524ce73] | 66 | <para><parameter>--enable-static --enable-shared</parameter>: These switches
|
---|
| 67 | tell <application>libjpeg</application> to build both shared and static
|
---|
| 68 | libraries.</para>
|
---|
[396508b] | 69 |
|
---|
[52d29f7] | 70 | </sect2>
|
---|
| 71 |
|
---|
| 72 | <sect2>
|
---|
| 73 | <title>Configuring <application>libjpeg</application></title>
|
---|
[396508b] | 74 |
|
---|
[52d29f7] | 75 | <sect3><title>Configuration Information</title>
|
---|
[396508b] | 76 |
|
---|
| 77 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
|
---|
| 78 |
|
---|
[52d29f7] | 79 | </sect3>
|
---|
[396508b] | 80 |
|
---|
[52d29f7] | 81 | </sect2>
|
---|
| 82 |
|
---|
| 83 | <sect2>
|
---|
| 84 | <title>Contents</title>
|
---|
[396508b] | 85 |
|
---|
[524ce73] | 86 | <segmentedlist>
|
---|
| 87 | <segtitle>Installed Programs</segtitle>
|
---|
| 88 | <segtitle>Installed Library</segtitle>
|
---|
| 89 | <segtitle>Installed Directories</segtitle>
|
---|
| 90 |
|
---|
| 91 | <seglistitem>
|
---|
| 92 | <seg>cjpeg, djpeg, jpegtran, rdjpgcom and wrjpgcom</seg>
|
---|
| 93 | <seg>libjpeg.[so,a]</seg>
|
---|
| 94 | <seg>None</seg>
|
---|
| 95 | </seglistitem>
|
---|
| 96 | </segmentedlist>
|
---|
| 97 |
|
---|
| 98 | <variablelist>
|
---|
| 99 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 100 | <?dbfo list-presentation="list"?>
|
---|
| 101 |
|
---|
| 102 | <varlistentry id="cjpeg">
|
---|
| 103 | <term><command>cjpeg</command></term>
|
---|
| 104 | <listitem><para>compresses image files to produce a
|
---|
| 105 | <acronym>JPEG</acronym>/<acronym>JFIF</acronym> file on the standard
|
---|
| 106 | output. Currently supported input file formats are:
|
---|
| 107 | <acronym>PPM</acronym> (PBMPLUS color format), <acronym>PGM</acronym>
|
---|
| 108 | (PBMPLUS gray-scale format), <acronym>BMP</acronym>, and Targa.</para>
|
---|
| 109 | <indexterm zone="libjpeg cjpeg">
|
---|
| 110 | <primary sortas="b-cjpeg">cjpeg</primary>
|
---|
| 111 | </indexterm></listitem>
|
---|
| 112 | </varlistentry>
|
---|
| 113 |
|
---|
| 114 | <varlistentry id="djpeg">
|
---|
| 115 | <term><command>djpeg</command></term>
|
---|
| 116 | <listitem><para>decompresses image files from
|
---|
| 117 | <acronym>JPEG</acronym>/<acronym>JFIF</acronym> format to either
|
---|
| 118 | <acronym>PPM</acronym> (PBMPLUS color format), <acronym>PGM</acronym>
|
---|
| 119 | (PBMPLUS gray-scale format), <acronym>BMP</acronym>, or Targa
|
---|
| 120 | format.</para>
|
---|
| 121 | <indexterm zone="libjpeg djpeg">
|
---|
| 122 | <primary sortas="b-djpeg">djpeg</primary>
|
---|
| 123 | </indexterm></listitem>
|
---|
| 124 | </varlistentry>
|
---|
| 125 |
|
---|
| 126 | <varlistentry id="jpegtran">
|
---|
| 127 | <term><command>jpegtran</command></term>
|
---|
| 128 | <listitem><para>is used for lossless transformation of
|
---|
| 129 | <acronym>JPEG</acronym> files.</para>
|
---|
| 130 | <indexterm zone="libjpeg jpegtran">
|
---|
| 131 | <primary sortas="b-jpegtran">jpegtran</primary>
|
---|
| 132 | </indexterm></listitem>
|
---|
| 133 | </varlistentry>
|
---|
| 134 |
|
---|
| 135 | <varlistentry id="rdjpgcom">
|
---|
| 136 | <term><command>rdjpgcom</command></term>
|
---|
| 137 | <listitem><para>displays text comments from within a <acronym>JPEG</acronym>
|
---|
| 138 | file.</para>
|
---|
| 139 | <indexterm zone="libjpeg rdjpgcom">
|
---|
| 140 | <primary sortas="b-rdjpgcom">rdjpgcom</primary>
|
---|
| 141 | </indexterm></listitem>
|
---|
| 142 | </varlistentry>
|
---|
| 143 |
|
---|
| 144 | <varlistentry id="wrjpgcom">
|
---|
| 145 | <term><command>wrjpgcom</command></term>
|
---|
| 146 | <listitem><para>inserts text comments into a <acronym>JPEG</acronym>
|
---|
| 147 | file.</para>
|
---|
| 148 | <indexterm zone="libjpeg wrjpgcom">
|
---|
| 149 | <primary sortas="b-wrjpgcom">wrjpgcom</primary>
|
---|
| 150 | </indexterm></listitem>
|
---|
| 151 | </varlistentry>
|
---|
| 152 |
|
---|
| 153 | <varlistentry id="libjpeg-lib">
|
---|
| 154 | <term><filename class='libraryfile'>libjpeg.[so,a]</filename></term>
|
---|
| 155 | <listitem><para>library is used by many programs for reading and writing
|
---|
| 156 | <acronym>JPEG</acronym> format files.</para>
|
---|
| 157 | <indexterm zone="libjpeg libjpeg-lib">
|
---|
| 158 | <primary sortas="c-libjpeg">libjpeg.[so,a]</primary>
|
---|
| 159 | </indexterm></listitem>
|
---|
| 160 | </varlistentry>
|
---|
| 161 | </variablelist>
|
---|
[396508b] | 162 |
|
---|
[52d29f7] | 163 | </sect2>
|
---|
[f45b1953] | 164 |
|
---|
| 165 | </sect1>
|
---|