LBitmapBase

Description

The LBitmapBase class is the main bitmap class. This class contains the main functionality for dealing with bitmaps in memory. It includes functions for basic image transforms such as resizing, flipping, cropping, and rotating, and for changing the bitmaps’ color-depth. This class also includes functions for loading images from files and saving images to files. You can use this class to create bitmaps from scratch and deal with individual rows or pixels of the image data. This class also contains functions for the following:

Animation playback settings

Getting information about loaded bitmaps

Combining two or more bitmaps

Copying whole or partial bitmaps from one object to another

Copying bitmaps to or from the clipboard

Image display settings

Converting images to or from LEAD Bitmaps and DIBs or DDB's so you can work with other libraries

Creating Alpha-channel bitmaps

Creating a device context for the bitmap so you can draw on it using Windows GDI functions

Dealing with bitmap view perspectives

Dealing with image palettes, including paint palettes

This class is the base class for any bitmap classes that you wish to derive.

When calling some functions of the LBitmapBase LEADTOOLS Class Library classes, the bitmap data is changed. To be notified of these changes, you can override the LBitmapBase::StartChanging and LBitmapBase::EndChanging functions. For more information, refer to Bitmap Change Notifications and Notification Categories.

If you derive a class from LBitmapBase, the macros defined in Wrapper Macros may be helpful.

Required Libraries

You must load all required libraries using LBase::LoadLibraries before using the classes.

LTKRN
LTDIS
LTFIL

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Also requires the file format DLLs described in Files To Be Included With Your Application.

See Also

Class Members, Class Hierarchy Chart, Derived Classes, Parent class