FreeImage.LoadFromStream Method (Stream)

FreeImage.NET

FreeImageLoadFromStream Method (Stream)
Loads a FreeImage bitmap. The stream must be set to the correct position before calling LoadFromStream.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static FIBITMAP LoadFromStream(
	Stream stream
)

Parameters

stream
Type: System.IOStream
The stream to read from.

Return Value

Type: FIBITMAP
Handle to a FreeImage bitmap.
Exceptions
ExceptionCondition
ArgumentNullExceptionstream is null.
ArgumentExceptionstream is not capable of reading.
See Also