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"/>
|
---|
81 | <!-- SDL for improved 3D Acceleration -->
|
---|
82 | </para>
|
---|
83 |
|
---|
84 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
85 | <para role="optional">
|
---|
86 | <xref linkend="freeglut"/> and
|
---|
87 | <xref linkend="giflib"/>
|
---|
88 | </para>
|
---|
89 |
|
---|
90 | <para condition="html" role="usernotes">
|
---|
91 | User Notes: <ulink url="&blfs-wiki;/libwebp"/>
|
---|
92 | </para>
|
---|
93 | </sect2>
|
---|
94 |
|
---|
95 | <sect2 role="installation">
|
---|
96 | <title>Installation of libwebp</title>
|
---|
97 |
|
---|
98 | <para>
|
---|
99 | Install <application>libwebp</application> by running the following
|
---|
100 | commands:
|
---|
101 | </para>
|
---|
102 |
|
---|
103 | <screen><userinput>./configure --prefix=/usr \
|
---|
104 | --enable-libwebpmux \
|
---|
105 | --enable-libwebpdemux \
|
---|
106 | --enable-libwebpdecoder \
|
---|
107 | --enable-libwebpextras \
|
---|
108 | --enable-swap-16bit-csp \
|
---|
109 | --disable-static &&
|
---|
110 | make</userinput></screen>
|
---|
111 |
|
---|
112 | <para>
|
---|
113 | This package does not come with a test suite.
|
---|
114 | </para>
|
---|
115 |
|
---|
116 | <para>
|
---|
117 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
118 | </para>
|
---|
119 |
|
---|
120 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
121 |
|
---|
122 | </sect2>
|
---|
123 |
|
---|
124 | <sect2 role="commands">
|
---|
125 | <title>Command Explanations</title>
|
---|
126 |
|
---|
127 |
|
---|
128 | <para>
|
---|
129 | <parameter>--enable-swap-16bit-csp</parameter>: This switch enables byte
|
---|
130 | swap for 16 bit colorspaces.
|
---|
131 | </para>
|
---|
132 |
|
---|
133 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
134 | href="../../xincludes/static-libraries.xml"/>
|
---|
135 |
|
---|
136 | </sect2>
|
---|
137 |
|
---|
138 | <sect2 role="content">
|
---|
139 | <title>Contents</title>
|
---|
140 |
|
---|
141 | <segmentedlist>
|
---|
142 | <segtitle>Installed Programs</segtitle>
|
---|
143 | <segtitle>Installed Library</segtitle>
|
---|
144 | <segtitle>Installed Directory</segtitle>
|
---|
145 |
|
---|
146 | <seglistitem>
|
---|
147 | <seg>
|
---|
148 | cwebp, dwebp, gif2webp, vwebp, and webpmux
|
---|
149 | </seg>
|
---|
150 | <seg>
|
---|
151 | libwebpdecoder.so, libwebpdemux.so, libwebpextras.so,
|
---|
152 | libwebpmux.so, and libwebp.so
|
---|
153 | </seg>
|
---|
154 | <seg>
|
---|
155 | /usr/include/webp
|
---|
156 | </seg>
|
---|
157 | </seglistitem>
|
---|
158 | </segmentedlist>
|
---|
159 |
|
---|
160 | <variablelist>
|
---|
161 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
162 | <?dbfo list-presentation="list"?>
|
---|
163 | <?dbhtml list-presentation="table"?>
|
---|
164 |
|
---|
165 | <varlistentry id="cwebp">
|
---|
166 | <term><command>cwebp</command></term>
|
---|
167 | <listitem>
|
---|
168 | <para>
|
---|
169 | compresses an image using the WebP format.
|
---|
170 | </para>
|
---|
171 | <indexterm zone="libwebp cwebp">
|
---|
172 | <primary sortas="b-cwebp">cwebp</primary>
|
---|
173 | </indexterm>
|
---|
174 | </listitem>
|
---|
175 | </varlistentry>
|
---|
176 |
|
---|
177 | <varlistentry id="dwebp">
|
---|
178 | <term><command>dwebp</command></term>
|
---|
179 | <listitem>
|
---|
180 | <para>
|
---|
181 | decompresses WebP files into PNG, PAM, PPM or PGM images.
|
---|
182 | </para>
|
---|
183 | <indexterm zone="libwebp dwebp">
|
---|
184 | <primary sortas="b-dwebp">dwebp</primary>
|
---|
185 | </indexterm>
|
---|
186 | </listitem>
|
---|
187 | </varlistentry>
|
---|
188 |
|
---|
189 | <varlistentry id="gif2webp">
|
---|
190 | <term><command>gif2webp</command></term>
|
---|
191 | <listitem>
|
---|
192 | <para>
|
---|
193 | converts a GIF image to a WebP image.
|
---|
194 | </para>
|
---|
195 | <indexterm zone="libwebp gif2webp">
|
---|
196 | <primary sortas="b-gif2webp">gif2webp</primary>
|
---|
197 | </indexterm>
|
---|
198 | </listitem>
|
---|
199 | </varlistentry>
|
---|
200 |
|
---|
201 | <varlistentry id="vwebp">
|
---|
202 | <term><command>vwebp</command></term>
|
---|
203 | <listitem>
|
---|
204 | <para>
|
---|
205 | decompress a WebP file and display it in a window.
|
---|
206 | </para>
|
---|
207 | <indexterm zone="libwebp vwebp">
|
---|
208 | <primary sortas="b-vwebp">vwebp</primary>
|
---|
209 | </indexterm>
|
---|
210 | </listitem>
|
---|
211 | </varlistentry>
|
---|
212 |
|
---|
213 | <varlistentry id="webpmux">
|
---|
214 | <term><command>webpmux</command></term>
|
---|
215 | <listitem>
|
---|
216 | <para>
|
---|
217 | creates animated WebP files from non-animated WebP images, extracts
|
---|
218 | frames from animated WebP images, and manages XMP/EXIF metadata and
|
---|
219 | ICC profile.
|
---|
220 | </para>
|
---|
221 | <indexterm zone="libwebp webpmux">
|
---|
222 | <primary sortas="b-webpmux">webpmux</primary>
|
---|
223 | </indexterm>
|
---|
224 | </listitem>
|
---|
225 | </varlistentry>
|
---|
226 |
|
---|
227 | <varlistentry id="libwebp-lib">
|
---|
228 | <term><filename class="libraryfile">libwebp.so</filename></term>
|
---|
229 | <listitem>
|
---|
230 | <para>
|
---|
231 | contains the API functions for WebP encoding and decoding.
|
---|
232 | </para>
|
---|
233 | <indexterm zone="libwebp libwebp-lib">
|
---|
234 | <primary sortas="c-libwebp">libwebp.so</primary>
|
---|
235 | </indexterm>
|
---|
236 | </listitem>
|
---|
237 | </varlistentry>
|
---|
238 |
|
---|
239 | </variablelist>
|
---|
240 |
|
---|
241 | </sect2>
|
---|
242 |
|
---|
243 | </sect1>
|
---|