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.5 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:

sed -i '/DGifCloseFile/s:gif:&, NULL:g' examples/gif2webp.c &&
./configure --prefix=/usr --disable-static &&

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

sed -i...: This sed fixes building with new versions of giflib.

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


Installed Programs: cwebp and dwebp
Installed Library:
Installed Directory: /usr/include/webp

Short Descriptions


compresses an image using the WebP format.


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

contains the API functions for WebP encoding and decoding.

Last updated on 2014-05-18 20:48:41 +0000