FreeImage.NET Class Library Reference
FreeImageBitmapConvertType Method |
Converts this FreeImageBitmapFREE_IMAGE_TYPE to
type initializing a new instance.
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 bool ConvertType( 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: BooleanReturns true on success, false on failure.
See Also