| FreeImage Documentation -Contents Previous Next Up |
FreeImage bitmap information functions
SubsectionsFreeImage_GetTransparencyCount
BYTE FreeImage_GetTransparencyCount(void *dib);
Returns the number of transparent palette colors in the transparency table of the bitmap. Every palettized bitmap can have a transparency table containing up to 256 alpha values. At this moment only FreeImageQt uses the alpha values. FreeImage_GetTransparencyTable
BYTE *FreeImage_GetTransparencyTable(void *dib);
Returns the transparency table assigned to this bitmap. If the bitmap doesn't contain a transparency table, NULL is returned. FreeImage_SetTransparencyTable
void FreeImage_SetTransparencyTable(void *dib, BYTE *table, BYTE count);
Assigns a new transparency table to the bitmap. Copyright 2000 Floris van den Berg (freeimage@wxs.nl) |