Edit

SKImageReadPixelsResult.ToArray(Int32) Method

Definition

Copies the specified plane into a new tightly-packed byte array that outlives the callback.

public byte[] ToArray(int planeIndex = 0);

Parameters

planeIndex
Int32

The zero-based index of the plane to copy.

Returns

Byte[]

A new byte array containing the tightly-packed plane data.

Applies to