[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 |
|
---|
[420c072] | 7 | <!ENTITY libwebp-download-http "http://downloads.webmproject.org/releases/webp/libwebp-&libwebp-version;.tar.gz">
|
---|
[c72f1ff] | 8 | <!ENTITY libwebp-download-ftp " ">
|
---|
[63d8d062] | 9 | <!ENTITY libwebp-md5sum "08813525eeeffe7e305b4cbfade8ae9b">
|
---|
| 10 | <!ENTITY libwebp-size "968 KB">
|
---|
| 11 | <!ENTITY libwebp-buildsize "28 MB">
|
---|
| 12 | <!ENTITY libwebp-time "0.3 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 |
|
---|
[7c51f58] | 37 | &lfs77_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 |
|
---|
[420c072] | 101 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
[c72f1ff] | 102 | make</userinput></screen>
|
---|
| 103 |
|
---|
| 104 | <para>
|
---|
| 105 | This package does not come with a test suite.
|
---|
| 106 | </para>
|
---|
| 107 |
|
---|
| 108 | <para>
|
---|
| 109 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 110 | </para>
|
---|
| 111 |
|
---|
| 112 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 113 |
|
---|
| 114 | </sect2>
|
---|
| 115 |
|
---|
| 116 | <sect2 role="commands">
|
---|
| 117 | <title>Command Explanations</title>
|
---|
| 118 |
|
---|
| 119 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 120 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 121 |
|
---|
| 122 | </sect2>
|
---|
| 123 |
|
---|
| 124 | <sect2 role="content">
|
---|
| 125 | <title>Contents</title>
|
---|
| 126 |
|
---|
| 127 | <segmentedlist>
|
---|
| 128 | <segtitle>Installed Programs</segtitle>
|
---|
| 129 | <segtitle>Installed Library</segtitle>
|
---|
| 130 | <segtitle>Installed Directory</segtitle>
|
---|
| 131 |
|
---|
| 132 | <seglistitem>
|
---|
| 133 | <seg>
|
---|
| 134 | cwebp and dwebp
|
---|
| 135 | </seg>
|
---|
| 136 | <seg>
|
---|
| 137 | libwebp.so
|
---|
| 138 | </seg>
|
---|
| 139 | <seg>
|
---|
| 140 | /usr/include/webp
|
---|
| 141 | </seg>
|
---|
| 142 | </seglistitem>
|
---|
| 143 | </segmentedlist>
|
---|
| 144 |
|
---|
| 145 | <variablelist>
|
---|
| 146 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 147 | <?dbfo list-presentation="list"?>
|
---|
| 148 | <?dbhtml list-presentation="table"?>
|
---|
| 149 |
|
---|
| 150 | <varlistentry id="cwebp">
|
---|
| 151 | <term><command>cwebp</command></term>
|
---|
| 152 | <listitem>
|
---|
| 153 | <para>
|
---|
| 154 | compresses an image using the WebP format.
|
---|
| 155 | </para>
|
---|
| 156 | <indexterm zone="libwebp cwebp">
|
---|
| 157 | <primary sortas="b-cwebp">cwebp</primary>
|
---|
| 158 | </indexterm>
|
---|
| 159 | </listitem>
|
---|
| 160 | </varlistentry>
|
---|
| 161 |
|
---|
| 162 | <varlistentry id="dwebp">
|
---|
| 163 | <term><command>dwebp</command></term>
|
---|
| 164 | <listitem>
|
---|
| 165 | <para>
|
---|
| 166 | decompresses WebP files into PNG, PAM, PPM or PGM images.
|
---|
| 167 | </para>
|
---|
| 168 | <indexterm zone="libwebp dwebp">
|
---|
| 169 | <primary sortas="b-dwebp">dwebp</primary>
|
---|
| 170 | </indexterm>
|
---|
| 171 | </listitem>
|
---|
| 172 | </varlistentry>
|
---|
| 173 |
|
---|
| 174 | <varlistentry id="libwebp-lib">
|
---|
| 175 | <term><filename class="libraryfile">libwebp.so</filename></term>
|
---|
| 176 | <listitem>
|
---|
| 177 | <para>
|
---|
| 178 | contains the API functions for WebP encoding and decoding.
|
---|
| 179 | </para>
|
---|
| 180 | <indexterm zone="libwebp libwebp-lib">
|
---|
| 181 | <primary sortas="c-libwebp">libwebp.so</primary>
|
---|
| 182 | </indexterm>
|
---|
| 183 | </listitem>
|
---|
| 184 | </varlistentry>
|
---|
| 185 |
|
---|
| 186 | </variablelist>
|
---|
| 187 |
|
---|
| 188 | </sect2>
|
---|
| 189 |
|
---|
| 190 | </sect1>
|
---|