#### Beyond Linux® From Scratch (System V Edition) - Version 12.3

### Chapter 10. Graphics and Font Libraries

- Prev

  sassc-3.6.2

- Next

  woff2-1.0.2

- Up
- Home

# webp-pixbuf-loader-0.2.7

## Introduction to webp-pixbuf-loader

The webp-pixbuf-loader package contains a library that allows gdk-pixbuf to load and process webp images.

This package is known to build and work properly using an LFS 12.3 platform.

### Package Information

- Download (HTTP): https://github.com/aruiz/webp-pixbuf-loader/archive/0.2.7/webp-pixbuf-loader-0.2.7.tar.gz

- Download MD5 sum: e97025dc70178877dbd041776f151947

- Download size: 8.8 MB

- Estimated disk space required: 9.7 MB

- Estimated build time: less than 0.1 SBU (with tests)

### webp-pixbuf-loader Dependencies

#### Required

gdk-pixbuf-2.42.12 and libwebp-1.5.0

## Installation of webp-pixbuf-loader

Install webp-pixbuf-loader by running the following commands:

    mkdir build &&
    cd    build &&

    meson setup --prefix=/usr --buildtype=release .. &&
    ninja

To test the results, issue: ninja test.

Now, as the `root` user:

    ninja install

The webp format needs to be added to the loaders cache:

    gdk-pixbuf-query-loaders --update-cache

## Command Explanations

`--buildtype=release`: Specify a buildtype suitable for stable releases of the package, as the default may produce unoptimized binaries.

gdk-pixbuf-query-loaders --update-cache: This command updates the gdk-pixbuf loader cache so that it knows the webp loader has been installed.

## Contents

Installed Programs: None
Installed Libraries: libpixbufloader-webp.so
Installed Directories: None

### Short Descriptions

`libpixbufloader-webp.so` | contains functions that allow gdk-pixbuf to load webp images

- Prev

  sassc-3.6.2

- Next

  woff2-1.0.2

- Up
- Home