libwebp-1.3.2

Introduction to libwebp

The libwebp package contains a library and support programs to encode and decode images in WebP format.

[Note]

Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

Package Information

libwebp Dependencies

Recommended

Optional

Freeglut-3.4.0 and giflib-5.2.1

Installation of libwebp

Install libwebp by running the following commands:

./configure --prefix=/usr           \
            --enable-libwebpmux     \
            --enable-libwebpdemux   \
            --enable-libwebpdecoder \
            --enable-libwebpextras  \
            --enable-swap-16bit-csp \
            --disable-static        &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

--enable-swap-16bit-csp: This switch enables byte swap for 16 bit colorspaces.

--disable-static: This switch prevents installation of static versions of the libraries.

Contents

Installed Programs: cwebp, dwebp, gif2webp, img2webp, vwebp, webpinfo, and webpmux
Installed Library: libsharpyuv.so, libwebpdecoder.so, libwebpdemux.so, libwebpmux.so, and libwebp.so
Installed Directory: /usr/include/webp

Short Descriptions

cwebp

compresses an image using the WebP format

dwebp

decompresses WebP files into PNG, PAM, PPM or PGM images

gif2webp

converts a GIF image to a WebP image

img2webp

creates an animated WebP file from a sequence of input images

vwebp

decompresses a WebP file and displays it in a window

webpinfo

prints out the cunk level structure of WebP files along with performing basic integrity checks

webpmux

creates animated WebP files from non-animated WebP images, extracts frames from animated WebP images, and manages XMP/EXIF metadata and the ICC profile

libwebp.so

contains the API functions for WebP encoding and decoding