FreeImage.LoadFromHandle Method

FreeImage.NET

FreeImageLoadFromHandle Method
Loads a bitmap from an arbitrary source.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static FIBITMAP LoadFromHandle(
	FREE_IMAGE_FORMAT fif,
	ref FreeImageIO io,
	fi_handle handle,
	FREE_IMAGE_LOAD_FLAGS flags
)

Parameters

fif
Type: FreeImageAPIFREE_IMAGE_FORMAT
Type of the bitmap.
io
Type: FreeImageAPI.IOFreeImageIO
A FreeImageIO structure with functionpointers to handle the source.
handle
Type: FreeImageAPI.IOfi_handle
A handle to the source.
flags
Type: FreeImageAPIFREE_IMAGE_LOAD_FLAGS
Flags to enable or disable plugin-features.

Return Value

Type: FIBITMAP
Handle to a FreeImage bitmap.
See Also