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