IT lexicon › Programming › Imlib

Imlib

Programming På svenska → Updated: 2026-10-09
More info
Creator
Carsten Haitzler (Rasterman)
Type
Image library for X11
Successor
Imlib2, gdk-pixbuf

Rasterman's image library that loaded, scaled and dithered pictures into X pixmaps, carried Enlightenment and all of GNOME 1, and was then replaced by gdk-pixbuf while the rewrite Imlib2 lives on.

Carsten Haitzler wrote Imlib in the mid-1990s for his window manager Enlightenment, which was built out of images and needed to load them fast. The library read PNG, JPEG, GIF, TIFF and XPM, scaled, cached and, most importantly at the time, dithered down to an 8-bit colormap so a desktop background did not steal every colour cell from the rest of the screen. It came in two forms, plain Xlib and gdk_imlib on top of GDK, and the latter made it GNOME 1's standard way of showing a picture.

Imlib2, a complete rewrite begun in 1999, dropped the X dependency, gained drawing primitives, filters and anti-aliased text via FreeType, and became the foundation for Enlightenment's Evas and for tools like the image viewer feh and the screenshot utility scrot. GNOME went the other way: gdk-pixbuf, with pure client-side images and no X pixmaps, replaced gdk_imlib in GNOME 2, and Imlib 1 vanished from the distributions. Imlib2 is still maintained within the Enlightenment project, which says something about which of the two was the more inventive and which the more political.

← Back to the lexicon