Upravit

Sdílet prostřednictvím


SKPixelSerializer.Encode(SKPixmap) Method

Definition

Encode the specified pixel data.

public SkiaSharp.SKData Encode (SkiaSharp.SKPixmap pixmap);

Parameters

pixmap
SKPixmap

The pixel data to encode.

Returns

Returns the encoded pixel data, or null if the raw pixels should be used.

Applies to