BitmapDataFactoryLoad(Stream, WorkingColorSpace) Method
Namespace: KGySoft.Drawing.ImagingAssembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.0-rc.1
public static IReadWriteBitmapData Load(
Stream stream,
WorkingColorSpace workingColorSpace
)
Public Shared Function Load (
stream As Stream,
workingColorSpace As WorkingColorSpace
) As IReadWriteBitmapData
public:
static IReadWriteBitmapData^ Load(
Stream^ stream,
WorkingColorSpace workingColorSpace
)
static member Load :
stream : Stream *
workingColorSpace : WorkingColorSpace -> IReadWriteBitmapData
- stream Stream
- The stream to load the bitmap data from.
- workingColorSpace WorkingColorSpace
- Specifies the preferred color space that should be used when working with the loaded bitmap data.
See the Remarks section of the WorkingColorSpace enumeration for more details.
IReadWriteBitmapDataA managed
IReadWriteBitmapData instance loaded from the specified
stream.
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.