1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY libwebp-download-http "http://downloads.webmproject.org/releases/webp/libwebp-&libwebp-version;.tar.gz">
|
---|
8 | <!ENTITY libwebp-download-ftp " ">
|
---|
9 | <!ENTITY libwebp-md5sum "7e047f2cbaf584dff7a8a7e0f8572f18">
|
---|
10 | <!ENTITY libwebp-size "3.8 MB">
|
---|
11 | <!ENTITY libwebp-buildsize "45 MB">
|
---|
12 | <!ENTITY libwebp-time "0.3 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="libwebp" xreflabel="libwebp-&libwebp-version;">
|
---|
16 | <?dbhtml filename="libwebp.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>libwebp-&libwebp-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="libwebp">
|
---|
26 | <primary sortas="a-libwebp">libwebp</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to libwebp</title>
|
---|
31 |
|
---|
32 | <para>
|
---|
33 | The <application>libwebp</application> package contains a library
|
---|
34 | and support programs to encode and decode images in WebP format.
|
---|
35 | </para>
|
---|
36 |
|
---|
37 | &lfs90_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>
|
---|
43 | Download (HTTP): <ulink url="&libwebp-download-http;"/>
|
---|
44 | </para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (FTP): <ulink url="&libwebp-download-ftp;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download MD5 sum: &libwebp-md5sum;
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download size: &libwebp-size;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Estimated disk space required: &libwebp-buildsize;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated build time: &libwebp-time;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | </itemizedlist>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect3">libwebp Dependencies</bridgehead>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
76 | <para role="recommended">
|
---|
77 | <xref linkend="libjpeg"/>,
|
---|
78 | <xref linkend="libpng"/>,
|
---|
79 | <xref linkend="libtiff"/>, and
|
---|
80 | <xref linkend="sdl"/> (for improved 3D Acceleration)
|
---|
81 | </para>
|
---|
82 |
|
---|
83 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
84 | <para role="optional">
|
---|
85 | <xref linkend="freeglut"/> and
|
---|
86 | <xref linkend="giflib"/>
|
---|
87 | </para>
|
---|
88 |
|
---|
89 | <para condition="html" role="usernotes">
|
---|
90 | User Notes: <ulink url="&blfs-wiki;/libwebp"/>
|
---|
91 | </para>
|
---|
92 | </sect2>
|
---|
93 |
|
---|
94 | <sect2 role="installation">
|
---|
95 | <title>Installation of libwebp</title>
|
---|
96 |
|
---|
97 | <para>
|
---|
98 | Install <application>libwebp</application> by running the following
|
---|
99 | commands:
|
---|
100 | </para>
|
---|
101 |
|
---|
102 | <screen><userinput>./configure --prefix=/usr \
|
---|
103 | --enable-libwebpmux \
|
---|
104 | --enable-libwebpdemux \
|
---|
105 | --enable-libwebpdecoder \
|
---|
106 | --enable-libwebpextras \
|
---|
107 | --enable-swap-16bit-csp \
|
---|
108 | --disable-static &&
|
---|
109 | make</userinput></screen>
|
---|
110 |
|
---|
111 | <para>
|
---|
112 | This package does not come with a test suite.
|
---|
113 | </para>
|
---|
114 |
|
---|
115 | <para>
|
---|
116 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
117 | </para>
|
---|
118 |
|
---|
119 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
120 |
|
---|
121 | </sect2>
|
---|
122 |
|
---|
123 | <sect2 role="commands">
|
---|
124 | <title>Command Explanations</title>
|
---|
125 |
|
---|
126 |
|
---|
127 | <para>
|
---|
128 | <parameter>--enable-swap-16bit-csp</parameter>: This switch enables byte
|
---|
129 | swap for 16 bit colorspaces.
|
---|
130 | </para>
|
---|
131 |
|
---|
132 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
133 | href="../../xincludes/static-libraries.xml"/>
|
---|
134 |
|
---|
135 | </sect2>
|
---|
136 |
|
---|
137 | <sect2 role="content">
|
---|
138 | <title>Contents</title>
|
---|
139 |
|
---|
140 | <segmentedlist>
|
---|
141 | <segtitle>Installed Programs</segtitle>
|
---|
142 | <segtitle>Installed Library</segtitle>
|
---|
143 | <segtitle>Installed Directory</segtitle>
|
---|
144 |
|
---|
145 | <seglistitem>
|
---|
146 | <seg>
|
---|
147 | cwebp, dwebp, gif2webp, vwebp, and webpmux
|
---|
148 | </seg>
|
---|
149 | <seg>
|
---|
150 | libwebpdecoder.so, libwebpdemux.so, libwebpextras.so,
|
---|
151 | libwebpmux.so, and libwebp.so
|
---|
152 | </seg>
|
---|
153 | <seg>
|
---|
154 | /usr/include/webp
|
---|
155 | </seg>
|
---|
156 | </seglistitem>
|
---|
157 | </segmentedlist>
|
---|
158 |
|
---|
159 | <variablelist>
|
---|
160 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
161 | <?dbfo list-presentation="list"?>
|
---|
162 | <?dbhtml list-presentation="table"?>
|
---|
163 |
|
---|
164 | <varlistentry id="cwebp">
|
---|
165 | <term><command>cwebp</command></term>
|
---|
166 | <listitem>
|
---|
167 | <para>
|
---|
168 | compresses an image using the WebP format.
|
---|
169 | </para>
|
---|
170 | <indexterm zone="libwebp cwebp">
|
---|
171 | <primary sortas="b-cwebp">cwebp</primary>
|
---|
172 | </indexterm>
|
---|
173 | </listitem>
|
---|
174 | </varlistentry>
|
---|
175 |
|
---|
176 | <varlistentry id="dwebp">
|
---|
177 | <term><command>dwebp</command></term>
|
---|
178 | <listitem>
|
---|
179 | <para>
|
---|
180 | decompresses WebP files into PNG, PAM, PPM or PGM images.
|
---|
181 | </para>
|
---|
182 | <indexterm zone="libwebp dwebp">
|
---|
183 | <primary sortas="b-dwebp">dwebp</primary>
|
---|
184 | </indexterm>
|
---|
185 | </listitem>
|
---|
186 | </varlistentry>
|
---|
187 |
|
---|
188 | <varlistentry id="gif2webp">
|
---|
189 | <term><command>gif2webp</command></term>
|
---|
190 | <listitem>
|
---|
191 | <para>
|
---|
192 | converts a GIF image to a WebP image.
|
---|
193 | </para>
|
---|
194 | <indexterm zone="libwebp gif2webp">
|
---|
195 | <primary sortas="b-gif2webp">gif2webp</primary>
|
---|
196 | </indexterm>
|
---|
197 | </listitem>
|
---|
198 | </varlistentry>
|
---|
199 |
|
---|
200 | <varlistentry id="vwebp">
|
---|
201 | <term><command>vwebp</command></term>
|
---|
202 | <listitem>
|
---|
203 | <para>
|
---|
204 | decompress a WebP file and display it in a window.
|
---|
205 | </para>
|
---|
206 | <indexterm zone="libwebp vwebp">
|
---|
207 | <primary sortas="b-vwebp">vwebp</primary>
|
---|
208 | </indexterm>
|
---|
209 | </listitem>
|
---|
210 | </varlistentry>
|
---|
211 |
|
---|
212 | <varlistentry id="webpmux">
|
---|
213 | <term><command>webpmux</command></term>
|
---|
214 | <listitem>
|
---|
215 | <para>
|
---|
216 | creates animated WebP files from non-animated WebP images, extracts
|
---|
217 | frames from animated WebP images, and manages XMP/EXIF metadata and
|
---|
218 | ICC profile.
|
---|
219 | </para>
|
---|
220 | <indexterm zone="libwebp webpmux">
|
---|
221 | <primary sortas="b-webpmux">webpmux</primary>
|
---|
222 | </indexterm>
|
---|
223 | </listitem>
|
---|
224 | </varlistentry>
|
---|
225 |
|
---|
226 | <varlistentry id="libwebp-lib">
|
---|
227 | <term><filename class="libraryfile">libwebp.so</filename></term>
|
---|
228 | <listitem>
|
---|
229 | <para>
|
---|
230 | contains the API functions for WebP encoding and decoding.
|
---|
231 | </para>
|
---|
232 | <indexterm zone="libwebp libwebp-lib">
|
---|
233 | <primary sortas="c-libwebp">libwebp.so</primary>
|
---|
234 | </indexterm>
|
---|
235 | </listitem>
|
---|
236 | </varlistentry>
|
---|
237 |
|
---|
238 | </variablelist>
|
---|
239 |
|
---|
240 | </sect2>
|
---|
241 |
|
---|
242 | </sect1>
|
---|