API Reference
Struct
WebpAnimationFrame
Describes a single RGBA32 frame for animated WebP encoding.
Inheritance
- ValueType
- WebpAnimationFrame
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Accepted by parameters
- Method ImageReader.TryDecodeWebpAnimationCanvasFrames
- Method ImageReader.TryDecodeWebpAnimationCanvasFrames
- Method ImageReader.TryDecodeWebpAnimationCanvasFrames
- Method ImageReader.TryDecodeWebpAnimationFrames
- Method ImageReader.TryDecodeWebpAnimationFrames
- Method ImageReader.TryDecodeWebpAnimationFrames
- Method WebpReader.TryDecodeAnimationCanvasFrames
- Method WebpReader.TryDecodeAnimationFrames
- Method WebpWriter.WriteAnimationRgba32
- Method WebpWriter.WriteAnimationRgba32
- Method WebpWriter.WriteAnimationRgba32
- Method WebpWriter.WriteAnimationRgba32
- Method WebpWriter.WriteAnimationRgba32Lossy
- Method WebpWriter.WriteAnimationRgba32Lossy
- Method WebpWriter.WriteAnimationRgba32Lossy
- Method WebpWriter.WriteAnimationRgba32Lossy
Constructors
public WebpAnimationFrame(Byte[] rgba, Int32 width, Int32 height, Int32 stride, Int32 durationMs, Int32 x = 0, Int32 y = 0, Boolean blend = true, Boolean disposeToBackground = false) #Creates a WebP animation frame backed by an RGBA32 buffer.
Parameters
- rgba System.Byte[]
- width System.Int32
- height System.Int32
- stride System.Int32
- durationMs System.Int32
- x System.Int32 = 0
- y System.Int32 = 0
- blend System.Boolean = true
- disposeToBackground System.Boolean = false