SKBitmap.Decode Method

Definition

Overloads

Decode(String, SKImageInfo)

Decode a bitmap for the specified filename and destination image information.

Decode(Stream, SKImageInfo)

Decode a bitmap using the specified stream and destination image information.

Decode(Byte[], SKImageInfo)

Decode a bitmap using the specified byte buffer and destination image information.

Decode(SKStream, SKImageInfo)

Decode a bitmap using the specified stream and destination image information.

Decode(SKData, SKImageInfo)

Decode a bitmap using the specified data and destination image information.

Decode(SKCodec, SKImageInfo)

Decode a bitmap using the specified codec and destination image information.

Decode(SKStream)

Decode a bitmap using the specified stream.

Decode(Stream)

Decode a bitmap using the specified stream and destination image information.

Decode(Byte[])

Decode a bitmap using the specified byte buffer.

Decode(String)

Decode a bitmap for the specified filename.

Decode(SKData)

Decode a bitmap using the specified data.

Decode(SKCodec)

Decode a bitmap using the specified codec.

Decode(String, SKImageInfo)

Decode a bitmap for the specified filename and destination image information.

public static SkiaSharp.SKBitmap Decode (string filename, SkiaSharp.SKImageInfo bitmapInfo);

Parameters

filename
String

The filename of the bitmap to decode.

bitmapInfo
SKImageInfo

The destination image information.

Returns

The decoded bitmap, or null on error.

Decode(Stream, SKImageInfo)

Decode a bitmap using the specified stream and destination image information.

public static SkiaSharp.SKBitmap Decode (System.IO.Stream stream, SkiaSharp.SKImageInfo bitmapInfo);

Parameters

stream
Stream

The stream to decode.

bitmapInfo
SKImageInfo

The destination image information.

Returns

The decoded bitmap, or null on error.

Decode(Byte[], SKImageInfo)

Decode a bitmap using the specified byte buffer and destination image information.

public static SkiaSharp.SKBitmap Decode (byte[] buffer, SkiaSharp.SKImageInfo bitmapInfo);

Parameters

buffer
Byte[]

The byte buffer to decode.

bitmapInfo
SKImageInfo

The destination image information.

Returns

The decoded bitmap, or null on error.

Decode(SKStream, SKImageInfo)

Decode a bitmap using the specified stream and destination image information.

public static SkiaSharp.SKBitmap Decode (SkiaSharp.SKStream stream, SkiaSharp.SKImageInfo bitmapInfo);

Parameters

stream
SKStream

The stream to decode.

bitmapInfo
SKImageInfo

The destination image information.

Returns

The decoded bitmap, or null on error.

Decode(SKData, SKImageInfo)

Decode a bitmap using the specified data and destination image information.

public static SkiaSharp.SKBitmap Decode (SkiaSharp.SKData data, SkiaSharp.SKImageInfo bitmapInfo);

Parameters

data
SKData

The data to decode.

bitmapInfo
SKImageInfo

The destination image information.

Returns

The decoded bitmap, or null on error.

Decode(SKCodec, SKImageInfo)

Decode a bitmap using the specified codec and destination image information.

public static SkiaSharp.SKBitmap Decode (SkiaSharp.SKCodec codec, SkiaSharp.SKImageInfo bitmapInfo);

Parameters

codec
SKCodec

The codec to decode.

bitmapInfo
SKImageInfo

The destination image information.

Returns

The decoded bitmap, or null on error.

Decode(SKStream)

Decode a bitmap using the specified stream.

public static SkiaSharp.SKBitmap Decode (SkiaSharp.SKStream stream);

Parameters

stream
SKStream

The stream to decode.

Returns

The decoded bitmap, or null on error.

Decode(Stream)

Decode a bitmap using the specified stream and destination image information.

public static SkiaSharp.SKBitmap Decode (System.IO.Stream stream);

Parameters

stream
Stream

The stream to decode.

Returns

The decoded bitmap, or null on error.

Decode(Byte[])

Decode a bitmap using the specified byte buffer.

public static SkiaSharp.SKBitmap Decode (byte[] buffer);

Parameters

buffer
Byte[]

The byte buffer to decode.

Returns

The decoded bitmap, or null on error.

Decode(String)

Decode a bitmap for the specified filename.

public static SkiaSharp.SKBitmap Decode (string filename);

Parameters

filename
String

The filename of the bitmap to decode.

Returns

The decoded bitmap, or null on error.

Decode(SKData)

Decode a bitmap using the specified data.

public static SkiaSharp.SKBitmap Decode (SkiaSharp.SKData data);

Parameters

data
SKData

The data to decode.

Returns

The decoded bitmap, or null on error.

Decode(SKCodec)

Decode a bitmap using the specified codec.

public static SkiaSharp.SKBitmap Decode (SkiaSharp.SKCodec codec);

Parameters

codec
SKCodec

The codec to decode.

Returns

The decoded bitmap, or null on error.

Applies to