class GRectclass GMonitorclass GBitmap.h

Generic support for bilevel and gray-level images.

o class GBitmap: public GPEnabled
Bilevel and gray-level images.
o PNM and RLE file formats
Simple image file formats.
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.

Author:
Léon Bottou <leonb@research.att.com>
Version:
$Id: GBitmap.h.html,v 1.12 2001/02/15 01:12:21 bcr Exp $

Alphabetic index Hierarchy of classes


DjVu is a trademark of LizardTech, Inc.
All other products mentioned are registered trademarks or trademarks of their respective companies.