BitmapDataFactoryLoad Method

Loads a managed IReadWriteBitmapData instance from the specified stream that was saved by the BitmapDataExtensions.Save method.

Definition

Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 8.2.0
C#
public static IReadWriteBitmapData Load(
	Stream stream
)

Parameters

stream  Stream
The stream to load the bitmap data from.

Return Value

IReadWriteBitmapData
A managed IReadWriteBitmapData instance loaded from the specified stream.

Remarks

  Note

This method blocks the caller, and does not support cancellation or reporting progress. Use the BeginLoad or LoadAsync (in .NET Framework 4.0 and above) methods for asynchronous call and to set up cancellation or for reporting progress.

See Also