[c72f1ff] | 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 |
|
---|
[657b65a0] | 7 | <!ENTITY libwebp-download-http "http://downloads.webmproject.org/releases/webp/libwebp-&libwebp-version;.tar.gz">
|
---|
[c72f1ff] | 8 | <!ENTITY libwebp-download-ftp " ">
|
---|
[657b65a0] | 9 | <!ENTITY libwebp-md5sum "42bc79613ec5ee5b0e68ba97839c981e">
|
---|
| 10 | <!ENTITY libwebp-size "944 KB">
|
---|
| 11 | <!ENTITY libwebp-buildsize "28 MB">
|
---|
[780a799a] | 12 | <!ENTITY libwebp-time "0.1 SBU">
|
---|
[c72f1ff] | 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 |
|
---|
[3e06289] | 37 | &lfs76_checked;
|
---|
[c72f1ff] | 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"/> and
|
---|
| 79 | <xref linkend="libtiff"/>
|
---|
| 80 | </para>
|
---|
| 81 |
|
---|
| 82 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 83 | <para role="optional">
|
---|
[5b24455] | 84 | <xref linkend="freeglut"/> and
|
---|
[c72f1ff] | 85 | <xref linkend="giflib"/>
|
---|
| 86 | </para>
|
---|
| 87 |
|
---|
| 88 | <para condition="html" role="usernotes">
|
---|
| 89 | User Notes: <ulink url="&blfs-wiki;/libwebp"/>
|
---|
| 90 | </para>
|
---|
| 91 | </sect2>
|
---|
| 92 |
|
---|
| 93 | <sect2 role="installation">
|
---|
| 94 | <title>Installation of libwebp</title>
|
---|
| 95 |
|
---|
| 96 | <para>
|
---|
| 97 | Install <application>libwebp</application> by running the following
|
---|
| 98 | commands:
|
---|
| 99 | </para>
|
---|
| 100 |
|
---|
[657b65a0] | 101 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 102 | --disable-static \
|
---|
| 103 | --enable-experimental \
|
---|
| 104 | --enable-libwebpdecoder \
|
---|
| 105 | --enable-libwebpdemux \
|
---|
| 106 | --enable-libwebpmux &&
|
---|
[c72f1ff] | 107 | make</userinput></screen>
|
---|
| 108 |
|
---|
| 109 | <para>
|
---|
| 110 | This package does not come with a test suite.
|
---|
| 111 | </para>
|
---|
| 112 |
|
---|
| 113 | <para>
|
---|
| 114 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 115 | </para>
|
---|
| 116 |
|
---|
| 117 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 118 |
|
---|
| 119 | </sect2>
|
---|
| 120 |
|
---|
| 121 | <sect2 role="commands">
|
---|
| 122 | <title>Command Explanations</title>
|
---|
| 123 |
|
---|
[657b65a0] | 124 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 125 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 126 |
|
---|
[fd372f6] | 127 | <para>
|
---|
[657b65a0] | 128 | <parameter>--enable-experimental</parameter>: This switch enables
|
---|
| 129 | building of the experimental features which may be needed
|
---|
| 130 | by other programs in BLFS and beyond.
|
---|
[fd372f6] | 131 | </para>
|
---|
| 132 |
|
---|
[657b65a0] | 133 | <para>
|
---|
| 134 | <parameter>--enable-libwebp*</parameter>: This switch enables
|
---|
| 135 | building of the additional <application>libwebp</application>
|
---|
| 136 | libraries which are required to build additional programs
|
---|
| 137 | from <application>libwebp</application> source and may be
|
---|
| 138 | needed by other programs in BLFS and beyond.
|
---|
| 139 | </para>
|
---|
[c72f1ff] | 140 |
|
---|
| 141 | </sect2>
|
---|
| 142 |
|
---|
| 143 | <sect2 role="content">
|
---|
| 144 | <title>Contents</title>
|
---|
| 145 |
|
---|
| 146 | <segmentedlist>
|
---|
| 147 | <segtitle>Installed Programs</segtitle>
|
---|
[657b65a0] | 148 | <segtitle>Installed Libraries</segtitle>
|
---|
| 149 | <segtitle>Installed Directories</segtitle>
|
---|
[c72f1ff] | 150 |
|
---|
| 151 | <seglistitem>
|
---|
| 152 | <seg>
|
---|
[657b65a0] | 153 | cwebp, dwebp, gif2webp, vwebp and webpmux
|
---|
[c72f1ff] | 154 | </seg>
|
---|
| 155 | <seg>
|
---|
[657b65a0] | 156 | libwebpdecoder.so, libwebpdemux.so, libwebpmux.so and
|
---|
[c72f1ff] | 157 | libwebp.so
|
---|
| 158 | </seg>
|
---|
| 159 | <seg>
|
---|
| 160 | /usr/include/webp
|
---|
| 161 | </seg>
|
---|
| 162 | </seglistitem>
|
---|
| 163 | </segmentedlist>
|
---|
| 164 |
|
---|
| 165 | <variablelist>
|
---|
| 166 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 167 | <?dbfo list-presentation="list"?>
|
---|
| 168 | <?dbhtml list-presentation="table"?>
|
---|
| 169 |
|
---|
| 170 | <varlistentry id="cwebp">
|
---|
| 171 | <term><command>cwebp</command></term>
|
---|
| 172 | <listitem>
|
---|
| 173 | <para>
|
---|
| 174 | compresses an image using the WebP format.
|
---|
| 175 | </para>
|
---|
| 176 | <indexterm zone="libwebp cwebp">
|
---|
| 177 | <primary sortas="b-cwebp">cwebp</primary>
|
---|
| 178 | </indexterm>
|
---|
| 179 | </listitem>
|
---|
| 180 | </varlistentry>
|
---|
| 181 |
|
---|
| 182 | <varlistentry id="dwebp">
|
---|
| 183 | <term><command>dwebp</command></term>
|
---|
| 184 | <listitem>
|
---|
| 185 | <para>
|
---|
| 186 | decompresses WebP files into PNG, PAM, PPM or PGM images.
|
---|
| 187 | </para>
|
---|
| 188 | <indexterm zone="libwebp dwebp">
|
---|
| 189 | <primary sortas="b-dwebp">dwebp</primary>
|
---|
| 190 | </indexterm>
|
---|
| 191 | </listitem>
|
---|
| 192 | </varlistentry>
|
---|
| 193 |
|
---|
[657b65a0] | 194 | <varlistentry id="gif2webp">
|
---|
| 195 | <term><command>gif2webp</command></term>
|
---|
| 196 | <listitem>
|
---|
| 197 | <para>
|
---|
| 198 | converts a GIF image to a WebP image.
|
---|
| 199 | </para>
|
---|
| 200 | <indexterm zone="libwebp gif2webp">
|
---|
| 201 | <primary sortas="b-gif2webp">gif2webp</primary>
|
---|
| 202 | </indexterm>
|
---|
| 203 | </listitem>
|
---|
| 204 | </varlistentry>
|
---|
| 205 |
|
---|
| 206 | <varlistentry id="vwebp">
|
---|
| 207 | <term><command>vwebp</command></term>
|
---|
| 208 | <listitem>
|
---|
| 209 | <para>
|
---|
| 210 | decompresses a WebP file and displays it in a window
|
---|
| 211 | using OpenGL.
|
---|
| 212 | </para>
|
---|
| 213 | <indexterm zone="libwebp vwebp">
|
---|
| 214 | <primary sortas="b-vwebp">vwebp</primary>
|
---|
| 215 | </indexterm>
|
---|
| 216 | </listitem>
|
---|
| 217 | </varlistentry>
|
---|
| 218 |
|
---|
| 219 | <varlistentry id="webpmux">
|
---|
| 220 | <term><command>webpmux</command></term>
|
---|
| 221 | <listitem>
|
---|
| 222 | <para>
|
---|
| 223 | used to create a WebP container file and extract/strip
|
---|
| 224 | relevant data from the container file.
|
---|
| 225 | </para>
|
---|
| 226 | <indexterm zone="libwebp webpmux">
|
---|
| 227 | <primary sortas="b-webpmux">webpmux</primary>
|
---|
| 228 | </indexterm>
|
---|
| 229 | </listitem>
|
---|
| 230 | </varlistentry>
|
---|
| 231 |
|
---|
[c72f1ff] | 232 | <varlistentry id="libwebp-lib">
|
---|
| 233 | <term><filename class="libraryfile">libwebp.so</filename></term>
|
---|
| 234 | <listitem>
|
---|
| 235 | <para>
|
---|
[657b65a0] | 236 | contains API functions for encoding and decoding WebP Images.
|
---|
[c72f1ff] | 237 | </para>
|
---|
| 238 | <indexterm zone="libwebp libwebp-lib">
|
---|
| 239 | <primary sortas="c-libwebp">libwebp.so</primary>
|
---|
| 240 | </indexterm>
|
---|
| 241 | </listitem>
|
---|
| 242 | </varlistentry>
|
---|
| 243 |
|
---|
| 244 | </variablelist>
|
---|
| 245 |
|
---|
| 246 | </sect2>
|
---|
| 247 |
|
---|
| 248 | </sect1>
|
---|