#### Beyond Linux® From Scratch (systemd Edition) - Version r13.0-491

### Chapter 25. Graphical Environment Libraries

- Prev

  gtksourceview5-5.20.0

- Next

  kColorPicker-0.3.1

- Up
- Home

# imlib2-1.12.6

## Introduction to imlib2

imlib2 is a graphics library for fast file loading, saving, rendering and manipulation.

### 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://downloads.sourceforge.net/enlightenment/imlib2-1.12.6.tar.xz

- Download MD5 sum: 8c66b4dabc52225562324be5a994accf

- Download size: 828 KB

- Estimated disk space required: 20 MB (with docs)

- Estimated build time: 0.2 SBU (with docs)

### imlib2 Dependencies

#### Required

Xorg Libraries

#### Recommended

giflib-6.1.3 and librsvg-2.62.1

#### Optional

Doxygen-1.17.0 (for API documentation), highway-1.4.0, libheif-1.21.2, libjpeg-turbo-3.1.4.1, libjxl-0.11.2, libpng-1.6.58, libtiff-4.7.1, libwebp-1.6.0, libid3tag, libspectre

## Installation of imlib2

Install imlib2 by running the following commands:

    ./configure --prefix=/usr --disable-static &&
    make

This package does not come with a test suite.

Now, as the `root` user:

    make install

If you generated the API documentation, install it as the `root` user:

    install -v -m755 -d            /usr/share/doc/imlib2-1.12.6/html &&
    install -v -m644    doc/html/* /usr/share/doc/imlib2-1.12.6/html

## Command Explanations

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

`--enable-doc-build`: This switch generates the API documentation. Doxygen-1.17.0 must be installed.

## Contents

Installed Programs: imlib2_bumpmap, imlib2_colorspace, imlib2_conv, imlib2_grab, imlib2_load, imlib2_poly, imlib2_show, imlib2_test, and imlib2_view
Installed Libraries: libImlib2.so and various filters and image loader modules.
Installed Directories: /usr/lib/imlib2, /usr/share/doc/imlib2-1.12.6, and /usr/share/imlib2

### Short Descriptions

imlib2_bumpmap | is to test the imlib2 bumpmap function
imlib2_colorspace | is to test the imlib2 colorspace function
imlib2_conv | converts images between formats
imlib2_grab | takes screenshots
imlib2_load | loads and caches images
imlib2_poly | is to test the imlib2 poly function
imlib2_show | is an imlib2 program test
imlib2_test | is an imlib2 program test
imlib2_view | displays image files
`libImlib2.so` | provides the functions for programs to handle various image data formats

- Prev

  gtksourceview5-5.20.0

- Next

  kColorPicker-0.3.1

- Up
- Home