libwebp-1.6.0

#### Beyond Linux® From Scratch (System V Edition) - Version r13.0-584

### Chapter 10. Graphics and Font Libraries

- Prev

  libtiff-4.7.1

- Next

  mypaint-brushes-2.0.2

- Up
- Home

# libwebp-1.6.0

## Introduction to libwebp

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

### 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

- Download (HTTP): https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0.tar.gz

- Download MD5 sum: cceb6447180f961473b181c9ef38b630

- Download size: 4.1 MB

- Estimated disk space required: 41 MB

- Estimated build time: 0.3 SBU

### libwebp Dependencies

#### Recommended

libjpeg-turbo-3.1.4.1, libpng-1.6.58, libtiff-4.7.1, and sdl2-compat-2.32.68 (for improved 3D Acceleration)

#### Optional

Freeglut-3.8.0 and giflib-6.1.3

## 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

- Prev

  libtiff-4.7.1

- Next

  mypaint-brushes-2.0.2

- Up
- Home