libwebp-1.0.3

#### Beyond Linux® From Scratch (systemd Edition) - Version 9.0

### Chapter 10. Graphics and Font Libraries

- Prev

  LibTIFF-4.0.10

- Next

  mypaint-brushes-1.3.0

- Up
- Home

# libwebp-1.0.3

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

### Package Information

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

- Download MD5 sum: 906ad85daaaa2eac97c8aa2dec9e8b77

- Download size: 3.8 MB

- Estimated disk space required: 45 MB

- Estimated build time: 0.3 SBU

### libwebp Dependencies

#### Recommended

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

#### Optional

Freeglut-3.0.0 and giflib-5.2.1

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

## 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, 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-08-18 13:33:32 -0700

- Prev

  LibTIFF-4.0.10

- Next

  mypaint-brushes-1.3.0

- Up
- Home