FreeImage.NET Class Library Reference
FreeImageDither Method |
Converts a bitmap to 1-bit monochrome bitmap using a dithering algorithm.
For 1-bit input bitmaps, the function clones the input bitmap and builds a monochrome palette.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static FIBITMAP Dither( FIBITMAP dib, FREE_IMAGE_DITHER algorithm )
Parameters
- dib
- Type: FreeImageAPIFIBITMAP
Handle to a FreeImage bitmap. - algorithm
- Type: FreeImageAPIFREE_IMAGE_DITHER
The dithering algorithm to use.
Return Value
Type: FIBITMAPHandle to a FreeImage bitmap.
See Also