SKCodecOptions.PriorFrame Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value indicating which frame, if any, the destination bitmap already contains.
public int PriorFrame { get; set; }
Property Value
Remarks
Only meaningful for multi-frame images.
If FrameIndex needs to be blended with a prior
frame (as reported by SKCodec.FrameInfo[FrameIndex].RequiredFrame
), the
client can set this to any non-RestorePrevious
frame in the range [RequiredFrame, FrameIndex) to indicate that that frame is
already in the destination. ZeroInitialized is
ignored in this case.
If set to -1, the codec will decode any necessary required frame(s) first.
Applies to
SkiaSharp