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