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 C++ 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.
You must load all required libraries using LBase::LoadLibraries before using the classes.
Also requires the file format DLLs described in Files To Be Included With Your Application.
Class Members |
Derived Classes |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document