imlib2-1.9.0

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 dependencies have been updated since the most recent stable versions of the book.

Package Information

imlib2 Dependencies

Required

Xorg Libraries

Recommended

Optional

Doxygen-1.9.4 (for API documentation), libpng-1.6.37, libjpeg-turbo-2.1.3, libtiff-4.4.0, x265-20220219, and libid3tag

User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/imlib2

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.9.0/html &&
install -v -m644    doc/html/* /usr/share/doc/imlib2-1.9.0/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.9.4 must be installed.

Contents

Installed Programs: imlib2_bumpmap, imlib2_colorspace, imlib2_conv, imlib2_grab, 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.9.0, 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_poly

is to test the imlib2 poly function

imlib2_conv

converts images between formats

imlib2_grab

takes screenshots

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