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:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public bool ConvertType( FREE_IMAGE_TYPE type, bool scaleLinear ) |
Visual Basic (Declaration) |
---|
Public Function ConvertType ( _ type As FREE_IMAGE_TYPE, _ scaleLinear As Boolean _ ) As Boolean |
Visual C++ |
---|
public: bool ConvertType( FREE_IMAGE_TYPE type, bool scaleLinear ) |
Parameters
- type
- Type: FreeImageAPI..::.FREE_IMAGE_TYPE
Destination type.
- scaleLinear
- Type: System..::.Boolean
True to scale linear, else false.