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