FreeImage.NET Class Library Reference
FreeImageConvertToType Method |
Converts an image of any type to type dst_type.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static FIBITMAP ConvertToType( FIBITMAP src, FREE_IMAGE_TYPE dst_type, bool scale_linear )
Parameters
- src
- Type: FreeImageAPIFIBITMAP
Handle to a FreeImage bitmap. - dst_type
- Type: FreeImageAPIFREE_IMAGE_TYPE
Destination type. - scale_linear
- Type: SystemBoolean
True to scale linear, else false.
Return Value
Type: FIBITMAPHandle to a FreeImage bitmap.
See Also