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