SKBitmap.DecodeBounds Method

Definition

Overloads

DecodeBounds(String)

Decode the bitmap information for the specified filename.

DecodeBounds(Stream)

Decode the bitmap information using the specified stream.

DecodeBounds(ReadOnlySpan<Byte>)
DecodeBounds(SKStream)

Decode the bitmap information using the specified stream.

DecodeBounds(SKData)

Decode the bitmap information using the specified data.

DecodeBounds(Byte[])

Decode the bitmap information using the specified byte buffer.

DecodeBounds(String)

Decode the bitmap information for the specified filename.

public static SkiaSharp.SKImageInfo DecodeBounds (string filename);

Parameters

filename
String

The filename of the bitmap to decode.

Returns

The decoded bitmap information, or Empty if there was an error.

Applies to

DecodeBounds(Stream)

Decode the bitmap information using the specified stream.

public static SkiaSharp.SKImageInfo DecodeBounds (System.IO.Stream stream);

Parameters

stream
Stream

The stream to decode.

Returns

The decoded bitmap information, or Empty if there was an error.

Applies to

DecodeBounds(ReadOnlySpan<Byte>)

public static SkiaSharp.SKImageInfo DecodeBounds (ReadOnlySpan<byte> buffer);

Parameters

buffer
ReadOnlySpan<Byte>

Returns

Applies to

DecodeBounds(SKStream)

Decode the bitmap information using the specified stream.

public static SkiaSharp.SKImageInfo DecodeBounds (SkiaSharp.SKStream stream);

Parameters

stream
SKStream

The stream to decode.

Returns

The decoded bitmap information, or Empty if there was an error.

Applies to

DecodeBounds(SKData)

Decode the bitmap information using the specified data.

public static SkiaSharp.SKImageInfo DecodeBounds (SkiaSharp.SKData data);

Parameters

data
SKData

The data to decode.

Returns

The decoded bitmap information, or Empty if there was an error.

Applies to

DecodeBounds(Byte[])

Decode the bitmap information using the specified byte buffer.

public static SkiaSharp.SKImageInfo DecodeBounds (byte[] buffer);

Parameters

buffer
Byte[]

The byte buffer to decode.

Returns

The decoded bitmap information, or Empty if there was an error.

Applies to