Returns the number of colors used in a bitmap.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public static uint GetColorsUsed( FIBITMAP dib ) |
Visual Basic (Declaration) |
---|
Public Shared Function GetColorsUsed ( _ dib As FIBITMAP _ ) As UInteger |
Visual C++ |
---|
public: static unsigned int GetColorsUsed( FIBITMAP dib ) |
Parameters
- dib
- Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.