FreeImage.NET Class Library Reference
FreeImageColorQuantize Method |
Quantizes a high-color 24-bit bitmap to an 8-bit palette color bitmap.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static FIBITMAP ColorQuantize( FIBITMAP dib, FREE_IMAGE_QUANTIZE quantize )
Parameters
- dib
- Type: FreeImageAPIFIBITMAP
Handle to a FreeImage bitmap. - quantize
- Type: FreeImageAPIFREE_IMAGE_QUANTIZE
Specifies the color reduction algorithm to be used.
Return Value
Type: FIBITMAPHandle to a FreeImage bitmap.
See Also