FreeImage.Load Method

FreeImage.NET

FreeImageLoad Method
Decodes a bitmap, allocates memory for it and returns it as a FIBITMAP.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static FIBITMAP Load(
	FREE_IMAGE_FORMAT fif,
	string filename,
	FREE_IMAGE_LOAD_FLAGS flags
)

Parameters

fif
Type: FreeImageAPIFREE_IMAGE_FORMAT
Type of the bitmap.
filename
Type: SystemString
Name of the file to decode.
flags
Type: FreeImageAPIFREE_IMAGE_LOAD_FLAGS
Flags to enable or disable plugin-features.

Return Value

Type: FIBITMAP
Handle to a FreeImage bitmap.
See Also