libwebp-1.0.2

#### Beyond Linux® From Scratch - Version 2019-02-27

### Chapter 10. Graphics and Font Libraries

- Prev

  LibTIFF-4.0.10

- Next

  mypaint-brushes-1.3.0

- Up
- Home

# libwebp-1.0.2

## 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-8.4 platform.

### Package Information

- Download (HTTP): http://downloads.webmproject.org/releases/webp/libwebp-1.0.2.tar.gz

- Download MD5 sum: 02c0c55f1dd8612cd4d462e3409ad35d

- Download size: 3.9 MB

- Estimated disk space required: 45 MB

- Estimated build time: 0.4 SBU

### libwebp Dependencies

#### Recommended

libjpeg-turbo-2.0.2, libpng-1.6.36 and LibTIFF-4.0.10

#### Optional

Freeglut-3.0.0 and giflib-5.1.6

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libwebp

## Installation of libwebp

Install libwebp by running the following commands:

### Note

If you are updating from libwebp-0.4.x or 0.5.x, and wish that installed applications link to the new version 0.6.x, they need to be reinstalled.

    ./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, vwebp, and webpmux
Installed Library: libwebpdecoder.so, libwebpdemux.so, libwebpextras.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.
vwebp | decompress a WebP file and display it in a window.
webpmux | creates animated WebP files from non-animated WebP images, extracts frames from animated WebP images, and manages XMP/EXIF metadata and ICC profile.
`libwebp.so` | contains the API functions for WebP encoding and decoding.

Last updated on 2019-02-15 15:01:29 -0600

- Prev

  LibTIFF-4.0.10

- Next

  mypaint-brushes-1.3.0

- Up
- Home