Quantizes a high-color 24-bit bitmap to an 8-bit palette color bitmap.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
| C# |
|---|
public static FIBITMAP ColorQuantize( FIBITMAP dib, FREE_IMAGE_QUANTIZE quantize ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function ColorQuantize ( _ dib As FIBITMAP, _ quantize As FREE_IMAGE_QUANTIZE _ ) As FIBITMAP |
| Visual C++ |
|---|
public: static FIBITMAP ColorQuantize( FIBITMAP dib, FREE_IMAGE_QUANTIZE quantize ) |
Parameters
- dib
- Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.
- quantize
- Type: FreeImageAPI..::.FREE_IMAGE_QUANTIZE
Specifies the color reduction algorithm to be used.