Converts an image of any type to type dst_type.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
| C# |
|---|
public static FIBITMAP ConvertToType( FIBITMAP src, FREE_IMAGE_TYPE dst_type, bool scale_linear ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function ConvertToType ( _ src As FIBITMAP, _ dst_type As FREE_IMAGE_TYPE, _ scale_linear As Boolean _ ) As FIBITMAP |
| Visual C++ |
|---|
public: static FIBITMAP ConvertToType( FIBITMAP src, FREE_IMAGE_TYPE dst_type, bool scale_linear ) |
Parameters
- src
- Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.
- dst_type
- Type: FreeImageAPI..::.FREE_IMAGE_TYPE
Destination type.
- scale_linear
- Type: System..::.Boolean
True to scale linear, else false.