win32.graph.freeimage.FreeImage_GetTransparencyCount

FreeImage_GetTransparencyCount is available since version 1.0.

Prototype:

number FreeImage_GetTransparencyCount(number dib)

Description:

Get the number of transparent colors in a palletised bitmap. When the bitmap is not palletised, FreeImage_GetTransparencyCount always returns 0.

Return value:

Returns the number of transparent colors in a palletised bitmap.