Introduction to libwebp

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

This package is known to build and work properly using an LFS-7.6 systemd platform.

Package Information

libwebp Dependencies



Freeglut-2.8.1 and giflib-5.1.0

User Notes:

Installation of libwebp

Install libwebp by running the following commands:

./configure --prefix=/usr           \
            --disable-static        \
            --enable-experimental   \
            --enable-libwebpdecoder \
            --enable-libwebpdemux   \
            --enable-libwebpmux     &&

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

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

--enable-experimental: This switch enables building of the experimental features which may be needed by other programs in BLFS and beyond.

--enable-libwebp*: This switch enables building of the additional libwebp libraries which are required to build additional programs from libwebp source and may be needed by other programs in BLFS and beyond.


Installed Programs: cwebp, dwebp, gif2webp, vwebp and webpmux
Installed Libraries:,, and
Installed Directories: /usr/include/webp

Short Descriptions


compresses an image using the WebP format.


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


converts a GIF image to a WebP image.


decompresses a WebP file and displays it in a window using OpenGL.


used to create a WebP container file and extract/strip relevant data from the container file.

contains API functions for encoding and decoding WebP Images.

Last updated on 2014-08-23 12:03:12 -0700