Class AnimatedImageFrameInfo
Represents a single frame within an animated image, including its bitmap data, display duration, and compositing information.
public class AnimatedImageFrameInfo : DisposableObject, IBaseObjectWithAttr, IBaseObjectWithId, INotifyPropertyChanged, IDisposableObject, IDisposable, IBaseObject
- Inheritance
-
AnimatedImageFrameInfo
- Implements
Remarks
This class provides access to both the original and fully composited bitmap representations of an animation frame, as well as metadata such as frame index, display duration, and alpha channel type. It is typically used when processing or rendering animated images, such as GIFs, where each frame may require compositing with previous frames for correct display.
Properties
- AlphaType
Gets or sets the alpha type used to define how pixel transparency is interpreted for this image frame.
- CombinedBitmap
Gets or sets the fully composited bitmap that includes all required animation frames.
- Duration
Gets or sets the duration for which the frame should be displayed, in milliseconds.
- Image
Gets the image representation associated with this frame, if available.
- Index
Gets or sets the index of the frame within the animated image sequence.
- OriginalBitmap
Gets or sets the original bitmap data as stored in the GIF frame. The bitmap may represent a partial or 'dirty' rectangle of the full image.
- RequiredFrame
Gets or sets the required frame number for processing.
Methods
- DisposeManaged()
Override to dispose managed resources. Here we dispose all used object references.