win32.graph.freeimage.FreeImage_SetTransparent

FreeImage_SetTransparent is available since version 1.0.

Prototype:

null-returned FreeImage_SetTransparent(number dib, boolean enabled)

Description:

Tells FreeImage if it should make use of the transparency table or the alpha channel that may accompany a bitmap. When calling this function with a bitmap whose bitdepth is different from 1-, 4-, 8- or 32-bit, transparency is disabled whatever the value of the Boolean parameter.

Return value:

Return null.