FreeImage.NET Class Library Reference
FreeImageBitmapGetTypeConvertedInstance Method |
Converts this FreeImageBitmapFreeImageBitmap to type.
In case source and destination type are the same, the operation fails.
An error message can be catched using the 'Message' event.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public FreeImageBitmap GetTypeConvertedInstance( FREE_IMAGE_TYPE type, bool scaleLinear )
Parameters
- type
- Type: FreeImageAPIFREE_IMAGE_TYPE
Destination type. - scaleLinear
- Type: SystemBoolean
True to scale linear, else false.
Return Value
Type: FreeImageBitmapThe converted instance.
See Also