Monday, March 17, 2008

Libs-dev extension: libimg

I've recently started working on another cool library to make Kolibri programmers life easier. This one is called "libimg" and aims to provide functionality in some way similar to ImageMagick library (no code but some ideas are taken directly from there). Right now, it's alreayd possible to decode BMP and GIF files transparently i.e. you don't even need to specify which format does raw data represent. Of course, it's not always possible to determine image format, so API will be extended later to provide some optional parameters to functions.
Libimg not only allowes you to transparently decode (and later encode) images but also comes with some frequently used and simple to implement functions to operate on loaded images such as image flipping and rotation. More auxilary functions to come.

All the libraries along with libimg are available in SVN now: /programs/develop/libraries/libs-dev. Feel free to contribute.