Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Raster imaging C++ Class library help

Getting or Setting Bitmap Information

Show in webframe

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

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.