Getting or Setting Bitmap Information

LEADTOOLS provides several functions for getting information on various aspects of bitmaps. The following functions provide information on bitmap characteristics such as dimension, color order, size, resolution, etc.

LBitmapBase::GetBitsPerPixel

LBitmapBase::GetBytesPerLine

LBitmapBase::GetColorCount

LBitmapBase::GetColorOrder

LBitmapBase::GetHeight

LBitmapBase::GetMemSize

LBitmapBase::GetWidth

LBitmapBase::GetXResolution

LBitmapBase::GetYResolution

Information about the memory associated with a bitmap can be obtained using the following functions:

LBitmapBase::GetMemSize

LBitmapBase::Is1BitCompressed

LBitmapBase::IsAllocated

LBitmapBase::IsMemoryLocked

LBitmapBase::IsUsingConventionalMemory

LBitmapBase::IsUsingDiskMemory

To get information about display characteristics of a bitmap, use the following functions:

LBitmapBase::GetDefaultDithering

LBitmapBase::GetDitheringMethod

LBitmapBase::GetPaintContrast

LBitmapBase::GetPaintGamma

LBitmapBase::GetPaintIntensity

The following functions get general information about a bitmap:

LBitmapBase::GetHandle

LBitmapBase::GetViewPerspective

LBitmapBase::HasRgn

LBitmapBase::IsGrayScale

LBitmapBase::IsInterlaced

LBitmapBase::IsPixelsSigned

LBitmapBase::IsTiled

Several of the characteristics mentioned above can also be set for a bitmap using the following functions:

LBitmapBase::Initialize

LBitmapBase::SetHandle

LBitmapBase::SetDitheringMethod

LBitmapBase::SetXResolution

LBitmapBase::SetYResolution

Help Version 22.0.2023.2.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.