imlib2-1.12.2

Introduction to imlib2

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

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

Package Information

imlib2 Dependencies

Required

Xorg Libraries

Recommended

Optional

Doxygen-1.10.0 (for API documentation), libjpeg-turbo-3.0.1, libpng-1.6.42, libtiff-4.6.0, libwebp-1.3.2, x265-20240216, highway, libheif, libid3tag, libjxl, and 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.2/html &&
install -v -m644    doc/html/* /usr/share/doc/imlib2-1.12.2/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.10.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.2, 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