[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[cccbec8a] | 7 | <!ENTITY libjpeg-download-http "http://www.photopost.com/jpegsrc.v&libjpeg-version;.tar.gz">
|
---|
[c956539] | 8 | <!ENTITY libjpeg-download-ftp "ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v&libjpeg-version;.tar.gz">
|
---|
| 9 | <!ENTITY libjpeg-md5sum "dbd5f3b47ed13132f04c685d608a7547">
|
---|
| 10 | <!ENTITY libjpeg-size "599 KB">
|
---|
| 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;">
|
---|
[c956539] | 16 | <?dbhtml filename="libjpeg.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Libjpeg-&libjpeg-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="libjpeg">
|
---|
| 26 | <primary sortas="a-Libjpeg">Libjpeg</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Libjpeg</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>libjpeg</application> package contains libraries
|
---|
| 33 | that allow compression of image files based on the Joint Photographic Experts
|
---|
| 34 | Group standard. It is a "lossy" compression algorithm.</para>
|
---|
| 35 |
|
---|
| 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>Download (HTTP): <ulink url="&libjpeg-download-http;"/></para>
|
---|
| 40 | </listitem>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (FTP): <ulink url="&libjpeg-download-ftp;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download MD5 sum: &libjpeg-md5sum;</para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download size: &libjpeg-size;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Estimated disk space required: &libjpeg-buildsize;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated build time: &libjpeg-time;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | </itemizedlist>
|
---|
| 57 |
|
---|
| 58 | </sect2>
|
---|
| 59 |
|
---|
| 60 | <sect2 role="installation">
|
---|
| 61 | <title>Installation of Libjpeg</title>
|
---|
| 62 |
|
---|
[e9116cc] | 63 | <para>Install <application>libjpeg</application> by running the following
|
---|
[c956539] | 64 | commands:</para>
|
---|
| 65 |
|
---|
| 66 | <screen><userinput>./configure --prefix=/usr --enable-static --enable-shared &&
|
---|
| 67 | make</userinput></screen>
|
---|
| 68 |
|
---|
| 69 | <para>To test the results, issue: <command>make test</command>.</para>
|
---|
| 70 |
|
---|
| 71 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 72 |
|
---|
| 73 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 74 |
|
---|
| 75 | </sect2>
|
---|
| 76 |
|
---|
| 77 | <sect2 role="commands">
|
---|
| 78 | <title>Command Explanations</title>
|
---|
| 79 |
|
---|
[e9116cc] | 80 | <para><parameter>--enable-static --enable-shared</parameter>: These switches
|
---|
| 81 | tell <application>libjpeg</application> to build both shared and static
|
---|
[c956539] | 82 | libraries.</para>
|
---|
| 83 |
|
---|
| 84 | </sect2>
|
---|
| 85 |
|
---|
| 86 | <sect2 role="configuration">
|
---|
| 87 | <title>Configuring Libjpeg</title>
|
---|
| 88 |
|
---|
| 89 | <sect3>
|
---|
| 90 | <title>Configuration Information</title>
|
---|
| 91 |
|
---|
| 92 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
|
---|
| 93 |
|
---|
| 94 | </sect3>
|
---|
| 95 |
|
---|
| 96 | </sect2>
|
---|
| 97 |
|
---|
| 98 | <sect2 role="content">
|
---|
| 99 | <title>Contents</title>
|
---|
| 100 |
|
---|
| 101 | <segmentedlist>
|
---|
| 102 | <segtitle>Installed Programs</segtitle>
|
---|
| 103 | <segtitle>Installed Library</segtitle>
|
---|
| 104 | <segtitle>Installed Directories</segtitle>
|
---|
| 105 |
|
---|
| 106 | <seglistitem>
|
---|
| 107 | <seg>cjpeg, djpeg, jpegtran, rdjpgcom, and wrjpgcom</seg>
|
---|
| 108 | <seg>libjpeg.[so,a]</seg>
|
---|
| 109 | <seg>None</seg>
|
---|
| 110 | </seglistitem>
|
---|
| 111 | </segmentedlist>
|
---|
| 112 |
|
---|
| 113 | <variablelist>
|
---|
| 114 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 115 | <?dbfo list-presentation="list"?>
|
---|
| 116 | <?dbhtml list-presentation="table"?>
|
---|
| 117 |
|
---|
| 118 | <varlistentry id="cjpeg">
|
---|
| 119 | <term><command>cjpeg</command></term>
|
---|
| 120 | <listitem>
|
---|
[e9116cc] | 121 | <para>compresses image files to produce a JPEG/JFIF file on the
|
---|
| 122 | standard output. Currently supported input file formats are: PPM
|
---|
| 123 | (PBMPLUS color format), PGM (PBMPLUS gray-scale format),
|
---|
[c956539] | 124 | BMP, and Targa.</para>
|
---|
| 125 | <indexterm zone="libjpeg cjpeg">
|
---|
| 126 | <primary sortas="b-cjpeg">cjpeg</primary>
|
---|
| 127 | </indexterm>
|
---|
| 128 | </listitem>
|
---|
| 129 | </varlistentry>
|
---|
| 130 |
|
---|
| 131 | <varlistentry id="djpeg">
|
---|
| 132 | <term><command>djpeg</command></term>
|
---|
| 133 | <listitem>
|
---|
[e9116cc] | 134 | <para>decompresses image files from JPEG/JFIF format to either
|
---|
| 135 | PPM (PBMPLUS color format), PGM (PBMPLUS gray-scale format),
|
---|
[c956539] | 136 | BMP, or Targa format.</para>
|
---|
| 137 | <indexterm zone="libjpeg djpeg">
|
---|
| 138 | <primary sortas="b-djpeg">djpeg</primary>
|
---|
| 139 | </indexterm>
|
---|
| 140 | </listitem>
|
---|
| 141 | </varlistentry>
|
---|
| 142 |
|
---|
| 143 | <varlistentry id="jpegtran">
|
---|
| 144 | <term><command>jpegtran</command></term>
|
---|
| 145 | <listitem>
|
---|
| 146 | <para>is used for lossless transformation of JPEG files.</para>
|
---|
| 147 | <indexterm zone="libjpeg jpegtran">
|
---|
| 148 | <primary sortas="b-jpegtran">jpegtran</primary>
|
---|
| 149 | </indexterm>
|
---|
| 150 | </listitem>
|
---|
| 151 | </varlistentry>
|
---|
| 152 |
|
---|
| 153 | <varlistentry id="rdjpgcom">
|
---|
| 154 | <term><command>rdjpgcom</command></term>
|
---|
| 155 | <listitem>
|
---|
| 156 | <para>displays text comments from within a JPEG file.</para>
|
---|
| 157 | <indexterm zone="libjpeg rdjpgcom">
|
---|
| 158 | <primary sortas="b-rdjpgcom">rdjpgcom</primary>
|
---|
| 159 | </indexterm>
|
---|
| 160 | </listitem>
|
---|
| 161 | </varlistentry>
|
---|
| 162 |
|
---|
| 163 | <varlistentry id="wrjpgcom">
|
---|
| 164 | <term><command>wrjpgcom</command></term>
|
---|
| 165 | <listitem>
|
---|
| 166 | <para>inserts text comments into a JPEG file.</para>
|
---|
| 167 | <indexterm zone="libjpeg wrjpgcom">
|
---|
| 168 | <primary sortas="b-wrjpgcom">wrjpgcom</primary>
|
---|
| 169 | </indexterm>
|
---|
| 170 | </listitem>
|
---|
| 171 | </varlistentry>
|
---|
| 172 |
|
---|
| 173 | <varlistentry id="libjpeg-lib">
|
---|
| 174 | <term><filename class='libraryfile'>libjpeg.[so,a]</filename></term>
|
---|
| 175 | <listitem>
|
---|
[e9116cc] | 176 | <para>library is used by many programs for reading and writing
|
---|
[c956539] | 177 | JPEG format files.</para>
|
---|
| 178 | <indexterm zone="libjpeg libjpeg-lib">
|
---|
| 179 | <primary sortas="c-libjpeg">libjpeg.[so,a]</primary>
|
---|
| 180 | </indexterm>
|
---|
| 181 | </listitem>
|
---|
| 182 | </varlistentry>
|
---|
| 183 |
|
---|
| 184 | </variablelist>
|
---|
| 185 |
|
---|
| 186 | </sect2>
|
---|
[f45b1953] | 187 |
|
---|
| 188 | </sect1>
|
---|