Images are a fundamental construct in any project that involves graphics, image processing, and video and yet the variability in pixel data representations (color space, bit depth, channel ordering, planar/interleaved, alignment policy) makes it hard to write imaging-related code that is both generic and efficient. We designed a C++ generic library, GIL, which allows for writing generic imaging algorithms with performance comparable to hand-writing for a particular image type.


GIL is part of the Adobe Open Source libraries and will be part of the next release of theBoost libraries. GIL is used in features in Photoshop and Photoshop Elements as well as by several companies and universities.

Please visit the GIL home page for documentation, video tutorial, discussion group and the source code.