編輯

共用方式為


SKCodec.GetFrameInfo(Int32, SKCodecFrameInfo) Method

Definition

Gets information about a specific frame in the encoded image.

public bool GetFrameInfo (int index, out SkiaSharp.SKCodecFrameInfo frameInfo);

Parameters

index
Int32

The index of the frame to retrieve.

frameInfo
SKCodecFrameInfo

The information about the frame.

Returns

Returns true if the frame was successfully read, otherwise false.

Remarks

May require reading through the stream to determine info about the frames. As such, future decoding calls may require a rewind.

Applies to