Click or drag to resize
Ab4d.SharpEngine logo

SkiaSharpBitmapIOLoadBitmap(Stream, String) Method

Load bitmap into the GpuImageData struct

Namespace: Ab4d.SharpEngine.AvaloniaUI
Assembly: Ab4d.SharpEngine.AvaloniaUI (in Ab4d.SharpEngine.AvaloniaUI.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
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.AvaloniaUI.SkiaSharpBitmapIO.LoadBitmap(System.IO.Stream,System.String)"]

See Also