ImageDecodeOptions Class

The options of ImageDecoder.Decode (https://w3c.github.io/webcodecs/#dictdef-imagedecodeoptions).

public sealed class ImageDecodeOptions

Constructors

NameDescription
ImageDecodeOptions()

ImageDecodeOptions()

ImageDecoder.cs
public ImageDecodeOptions()

No documentation is available.

Properties

NameDescription
CompleteFramesOnlyGets whether only the full-detail image is returned (the progressive images are always decoded completely).
FrameIndexGets the index of the frame to decode.

CompleteFramesOnly

ImageDecoder.cs

Gets whether only the full-detail image is returned (the progressive images are always decoded completely).

public bool CompleteFramesOnly { get; init; }

FrameIndex

ImageDecoder.cs

Gets the index of the frame to decode.

public uint FrameIndex { get; init; }