[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 |
|
---|
| 7 | <!ENTITY libwebp-download-http "https://webp.googlecode.com/files/libwebp-&libwebp-version;.tar.gz">
|
---|
| 8 | <!ENTITY libwebp-download-ftp " ">
|
---|
| 9 | <!ENTITY libwebp-md5sum "4183f4f51ada98976f14e7bd51f30938">
|
---|
| 10 | <!ENTITY libwebp-size "784 KB">
|
---|
| 11 | <!ENTITY libwebp-buildsize "12 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 | &lfs73_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"/> and
|
---|
| 79 | <xref linkend="libtiff"/>
|
---|
| 80 | </para>
|
---|
| 81 |
|
---|
| 82 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 83 | <para role="optional">
|
---|
| 84 | <xref linkend="giflib"/>
|
---|
| 85 | </para>
|
---|
| 86 |
|
---|
| 87 | <para condition="html" role="usernotes">
|
---|
| 88 | User Notes: <ulink url="&blfs-wiki;/libwebp"/>
|
---|
| 89 | </para>
|
---|
| 90 | </sect2>
|
---|
| 91 |
|
---|
| 92 | <sect2 role="installation">
|
---|
| 93 | <title>Installation of libwebp</title>
|
---|
| 94 |
|
---|
| 95 | <para>
|
---|
| 96 | Install <application>libwebp</application> by running the following
|
---|
| 97 | commands:
|
---|
| 98 | </para>
|
---|
| 99 |
|
---|
| 100 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
| 101 | make</userinput></screen>
|
---|
| 102 |
|
---|
| 103 | <para>
|
---|
| 104 | This package does not come with a test suite.
|
---|
| 105 | </para>
|
---|
| 106 |
|
---|
| 107 | <para>
|
---|
| 108 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 109 | </para>
|
---|
| 110 |
|
---|
| 111 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 112 |
|
---|
| 113 | </sect2>
|
---|
| 114 |
|
---|
| 115 | <sect2 role="commands">
|
---|
| 116 | <title>Command Explanations</title>
|
---|
| 117 |
|
---|
| 118 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 119 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 120 |
|
---|
| 121 | </sect2>
|
---|
| 122 |
|
---|
| 123 | <sect2 role="content">
|
---|
| 124 | <title>Contents</title>
|
---|
| 125 |
|
---|
| 126 | <segmentedlist>
|
---|
| 127 | <segtitle>Installed Programs</segtitle>
|
---|
| 128 | <segtitle>Installed Library</segtitle>
|
---|
| 129 | <segtitle>Installed Directory</segtitle>
|
---|
| 130 |
|
---|
| 131 | <seglistitem>
|
---|
| 132 | <seg>
|
---|
| 133 | cwebp and dwebp
|
---|
| 134 | </seg>
|
---|
| 135 | <seg>
|
---|
| 136 | libwebp.so
|
---|
| 137 | </seg>
|
---|
| 138 | <seg>
|
---|
| 139 | /usr/include/webp
|
---|
| 140 | </seg>
|
---|
| 141 | </seglistitem>
|
---|
| 142 | </segmentedlist>
|
---|
| 143 |
|
---|
| 144 | <variablelist>
|
---|
| 145 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 146 | <?dbfo list-presentation="list"?>
|
---|
| 147 | <?dbhtml list-presentation="table"?>
|
---|
| 148 |
|
---|
| 149 | <varlistentry id="cwebp">
|
---|
| 150 | <term><command>cwebp</command></term>
|
---|
| 151 | <listitem>
|
---|
| 152 | <para>
|
---|
| 153 | compresses an image using the WebP format.
|
---|
| 154 | </para>
|
---|
| 155 | <indexterm zone="libwebp cwebp">
|
---|
| 156 | <primary sortas="b-cwebp">cwebp</primary>
|
---|
| 157 | </indexterm>
|
---|
| 158 | </listitem>
|
---|
| 159 | </varlistentry>
|
---|
| 160 |
|
---|
| 161 | <varlistentry id="dwebp">
|
---|
| 162 | <term><command>dwebp</command></term>
|
---|
| 163 | <listitem>
|
---|
| 164 | <para>
|
---|
| 165 | decompresses WebP files into PNG, PAM, PPM or PGM images.
|
---|
| 166 | </para>
|
---|
| 167 | <indexterm zone="libwebp dwebp">
|
---|
| 168 | <primary sortas="b-dwebp">dwebp</primary>
|
---|
| 169 | </indexterm>
|
---|
| 170 | </listitem>
|
---|
| 171 | </varlistentry>
|
---|
| 172 |
|
---|
| 173 | <varlistentry id="libwebp-lib">
|
---|
| 174 | <term><filename class="libraryfile">libwebp.so</filename></term>
|
---|
| 175 | <listitem>
|
---|
| 176 | <para>
|
---|
| 177 | contains the API functions for WebP encoding and decoding.
|
---|
| 178 | </para>
|
---|
| 179 | <indexterm zone="libwebp libwebp-lib">
|
---|
| 180 | <primary sortas="c-libwebp">libwebp.so</primary>
|
---|
| 181 | </indexterm>
|
---|
| 182 | </listitem>
|
---|
| 183 | </varlistentry>
|
---|
| 184 |
|
---|
| 185 | </variablelist>
|
---|
| 186 |
|
---|
| 187 | </sect2>
|
---|
| 188 |
|
---|
| 189 | </sect1>
|
---|