Generic support for bilevel and gray-level images.
Files "GBitmap.h" and "GBitmap.cpp" implement class GBitmap. Instances of this class represent bilevel or gray-level images. The ``bottom left'' coordinate system is used consistently in the DjVu library. Line zero of a bitmap is the bottom line in the bitmap. Pixels are organized from left to right within each line. As suggested by its name, class GBitmap was initially a class for bilevel images only. It was extended to handle gray-level images when arose the need to render anti-aliased images. This class has been a misnomer since then.ToDo --- Class GBitmap can internally represent bilevel images using a run-length encoded representation. Some algorithms may benefit from a direct access to this run information.
Alphabetic index Hierarchy of classes