Table of Contents

Class ApngOptions

Namespace
Aspose.Imaging.ImageOptions
Assembly
Aspose.Imaging.dll

The API for Animated PNG (Animated Portable Network Graphics) image file format creation is a dynamic tool for developers seeking to generate captivating animated images. With customizable options such as frame duration and the number of times to loop, this API allows for fine-tuning animated content according to specific needs. Whether creating engaging web graphics or interactive visuals, you can leverage this API to seamlessly incorporate APNG images with precise control over animation parameters.

public class ApngOptions : PngOptions, IDisposable, IHasXmpData, IHasMetadata
Inheritance
ApngOptions
Implements
Inherited Members

Constructors

ApngOptions()

Initializes a new instance of the ApngOptions class.

public ApngOptions()

Properties

DefaultFrameTime

Gets or sets the default frame duration.

public uint DefaultFrameTime { get; set; }

Property Value

uint

The default frame duration, in milliseconds.

NumPlays

Gets or sets the number of times to loop animation. 0 indicates infinite looping.

public int NumPlays { get; set; }

Property Value

int

The number of times to loop.