imlib2-1.12.3

Introduction to imlib2

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

[Note]

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

imlib2 Dependencies

Required

Xorg Libraries

Recommended

Optional

Doxygen-1.12.0 (for API documentation), highway-1.2.0, libjpeg-turbo-3.0.1, libjxl-0.11.1, libpng-1.6.44, libtiff-4.7.0, libwebp-1.4.0, libheif, 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.3/html &&
install -v -m644    doc/html/* /usr/share/doc/imlib2-1.12.3/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.12.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.3, 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