Click or drag to resize
Ab4d.SharpEngine logo

WpfBitmapIOLoadBitmap(Stream, String) Method

Load bitmap into the GpuImageData struct

Namespace: Ab4d.SharpEngine.Wpf
Assembly: Ab4d.SharpEngine.Wpf (in Ab4d.SharpEngine.Wpf.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public RawImageData LoadBitmap(
	Stream fileStream,
	string fileExtension
)

Parameters

fileStream  Stream
fileStream
fileExtension  String
fileExtension that provides the decoder information

Return Value

RawImageData
GpuImageData

Implements

IBitmapIOLoadBitmap(Stream, String)
Exceptions
ExceptionCondition
NotSupportedExceptionNotSupportedException is thrown when file extension is not supported. Call IsFileFormatImportSupported(String) to check if file extension is supported.
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Wpf.WpfBitmapIO.LoadBitmap(System.IO.Stream,System.String)"]

See Also