[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 |
|
---|
| 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 |
|
---|
[c0c32c47] | 57 | <para>To test the results, issue: <command>make test</command>.</para>
|
---|
| 58 |
|
---|
[524ce73] | 59 | <para>Now, as the root user:</para>
|
---|
| 60 |
|
---|
| 61 | <screen><userinput role='root'><command>make install</command></userinput></screen>
|
---|
[396508b] | 62 |
|
---|
[52d29f7] | 63 | </sect2>
|
---|
| 64 |
|
---|
| 65 | <sect2>
|
---|
| 66 | <title>Command explanations</title>
|
---|
[396508b] | 67 |
|
---|
[524ce73] | 68 | <para><parameter>--enable-static --enable-shared</parameter>: These switches
|
---|
| 69 | tell <application>libjpeg</application> to build both shared and static
|
---|
| 70 | libraries.</para>
|
---|
[396508b] | 71 |
|
---|
[52d29f7] | 72 | </sect2>
|
---|
| 73 |
|
---|
| 74 | <sect2>
|
---|
| 75 | <title>Configuring <application>libjpeg</application></title>
|
---|
[396508b] | 76 |
|
---|
[52d29f7] | 77 | <sect3><title>Configuration Information</title>
|
---|
[396508b] | 78 |
|
---|
| 79 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
|
---|
| 80 |
|
---|
[52d29f7] | 81 | </sect3>
|
---|
[396508b] | 82 |
|
---|
[52d29f7] | 83 | </sect2>
|
---|
| 84 |
|
---|
| 85 | <sect2>
|
---|
| 86 | <title>Contents</title>
|
---|
[396508b] | 87 |
|
---|
[524ce73] | 88 | <segmentedlist>
|
---|
| 89 | <segtitle>Installed Programs</segtitle>
|
---|
| 90 | <segtitle>Installed Library</segtitle>
|
---|
| 91 | <segtitle>Installed Directories</segtitle>
|
---|
| 92 |
|
---|
| 93 | <seglistitem>
|
---|
| 94 | <seg>cjpeg, djpeg, jpegtran, rdjpgcom and wrjpgcom</seg>
|
---|
| 95 | <seg>libjpeg.[so,a]</seg>
|
---|
| 96 | <seg>None</seg>
|
---|
| 97 | </seglistitem>
|
---|
| 98 | </segmentedlist>
|
---|
| 99 |
|
---|
| 100 | <variablelist>
|
---|
| 101 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 102 | <?dbfo list-presentation="list"?>
|
---|
| 103 |
|
---|
| 104 | <varlistentry id="cjpeg">
|
---|
| 105 | <term><command>cjpeg</command></term>
|
---|
| 106 | <listitem><para>compresses image files to produce a
|
---|
| 107 | <acronym>JPEG</acronym>/<acronym>JFIF</acronym> file on the standard
|
---|
| 108 | output. Currently supported input file formats are:
|
---|
| 109 | <acronym>PPM</acronym> (PBMPLUS color format), <acronym>PGM</acronym>
|
---|
| 110 | (PBMPLUS gray-scale format), <acronym>BMP</acronym>, and Targa.</para>
|
---|
| 111 | <indexterm zone="libjpeg cjpeg">
|
---|
| 112 | <primary sortas="b-cjpeg">cjpeg</primary>
|
---|
| 113 | </indexterm></listitem>
|
---|
| 114 | </varlistentry>
|
---|
| 115 |
|
---|
| 116 | <varlistentry id="djpeg">
|
---|
| 117 | <term><command>djpeg</command></term>
|
---|
| 118 | <listitem><para>decompresses image files from
|
---|
| 119 | <acronym>JPEG</acronym>/<acronym>JFIF</acronym> format to either
|
---|
| 120 | <acronym>PPM</acronym> (PBMPLUS color format), <acronym>PGM</acronym>
|
---|
| 121 | (PBMPLUS gray-scale format), <acronym>BMP</acronym>, or Targa
|
---|
| 122 | format.</para>
|
---|
| 123 | <indexterm zone="libjpeg djpeg">
|
---|
| 124 | <primary sortas="b-djpeg">djpeg</primary>
|
---|
| 125 | </indexterm></listitem>
|
---|
| 126 | </varlistentry>
|
---|
| 127 |
|
---|
| 128 | <varlistentry id="jpegtran">
|
---|
| 129 | <term><command>jpegtran</command></term>
|
---|
| 130 | <listitem><para>is used for lossless transformation of
|
---|
| 131 | <acronym>JPEG</acronym> files.</para>
|
---|
| 132 | <indexterm zone="libjpeg jpegtran">
|
---|
| 133 | <primary sortas="b-jpegtran">jpegtran</primary>
|
---|
| 134 | </indexterm></listitem>
|
---|
| 135 | </varlistentry>
|
---|
| 136 |
|
---|
| 137 | <varlistentry id="rdjpgcom">
|
---|
| 138 | <term><command>rdjpgcom</command></term>
|
---|
| 139 | <listitem><para>displays text comments from within a <acronym>JPEG</acronym>
|
---|
| 140 | file.</para>
|
---|
| 141 | <indexterm zone="libjpeg rdjpgcom">
|
---|
| 142 | <primary sortas="b-rdjpgcom">rdjpgcom</primary>
|
---|
| 143 | </indexterm></listitem>
|
---|
| 144 | </varlistentry>
|
---|
| 145 |
|
---|
| 146 | <varlistentry id="wrjpgcom">
|
---|
| 147 | <term><command>wrjpgcom</command></term>
|
---|
| 148 | <listitem><para>inserts text comments into a <acronym>JPEG</acronym>
|
---|
| 149 | file.</para>
|
---|
| 150 | <indexterm zone="libjpeg wrjpgcom">
|
---|
| 151 | <primary sortas="b-wrjpgcom">wrjpgcom</primary>
|
---|
| 152 | </indexterm></listitem>
|
---|
| 153 | </varlistentry>
|
---|
| 154 |
|
---|
| 155 | <varlistentry id="libjpeg-lib">
|
---|
| 156 | <term><filename class='libraryfile'>libjpeg.[so,a]</filename></term>
|
---|
| 157 | <listitem><para>library is used by many programs for reading and writing
|
---|
| 158 | <acronym>JPEG</acronym> format files.</para>
|
---|
| 159 | <indexterm zone="libjpeg libjpeg-lib">
|
---|
| 160 | <primary sortas="c-libjpeg">libjpeg.[so,a]</primary>
|
---|
| 161 | </indexterm></listitem>
|
---|
| 162 | </varlistentry>
|
---|
| 163 | </variablelist>
|
---|
[396508b] | 164 |
|
---|
[52d29f7] | 165 | </sect2>
|
---|
[f45b1953] | 166 |
|
---|
| 167 | </sect1>
|
---|