win32.graph.freeimage.FreeImage_GetBPP

FreeImage_GetBPP is available since version 1.0.

Prototype:

number FreeImage_GetBPP(number dib)

Description:

Get the size of one pixel in the bitmap in bits. For example when each pixel takes 32-bits of space in the bitmap, this function returns 32. Possible bit depths are 1, 4, 8, 16, 24, 32 for standard bitmaps and 16-, 32-, 48-, 64-, 96- and 128-bit for non standard bitmaps.

Return value:

Returns the size of one pixel in the bitmap in bits.