FreeImageBitmap.FromStream Method (Stream, Boolean, Boolean)

FreeImage.NET

FreeImageBitmapFromStream Method (Stream, Boolean, Boolean)
Creates a FreeImageBitmap from the specified data stream.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static FreeImageBitmap FromStream(
	Stream stream,
	bool useEmbeddedColorManagement,
	bool validateImageData
)

Parameters

stream
Type: System.IOStream
A Stream that contains the data for this FreeImageBitmap.
useEmbeddedColorManagement
Type: SystemBoolean
Ignored.
validateImageData
Type: SystemBoolean
Ignored.

Return Value

Type: FreeImageBitmap
The FreeImageBitmap this method creates.
See Also