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