FreeImage.NET Class Library Reference
FreeImageConvertToGreyscale Method |
Converts a bitmap to a 8-bit greyscale image with a linear ramp.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static FIBITMAP ConvertToGreyscale( FIBITMAP dib )
Parameters
- dib
- Type: FreeImageAPIFIBITMAP
Handle to a FreeImage bitmap.
Return Value
Type: FIBITMAPHandle to a FreeImage bitmap.
See Also