CODSymbolConverter::GetBmpPaletteSize

Determines palette size of a bitmap.

Defined in: OdSymbolConverter.cpp

Syntax

UINT CODSymbolConverter::GetBmpPaletteSize(UINT nBitsPerPixel, UINT nSize)

UINT CODSymbolConverter::GetBmpPaletteSize(BITMAPINFOHEADER* pHeader)

Return Value

Palette size.

Parameters

nBitsPerPixel

Number of bits used to represent a single pixel.

nSize

Size of the palette (bytes).

pHeader

Pointer to bitmap's header structure.