FreeImageBitmap Constructor (Stream)

FreeImage.NET

FreeImageBitmap Constructor (Stream)
Initializes a new instance of the FreeImageBitmap class bases on the specified stream.

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

Parameters

stream
Type: System.IOStream
Stream to read from.
Exceptions
ExceptionCondition
ExceptionThe operation failed.
ArgumentNullExceptionstream is a null reference.
Remarks
You must keep the stream open for the lifetime of the FreeImageBitmap.
See Also