Prerequisites
ImageSharp version
4.0
Other ImageSharp packages and versions
no
Environment (Operating system, version and so on)
no
.NET Framework version
no
Description
The FrameDelay for APNG should be measured in seconds. XMLdoc incorrectly states it as 1/100th of a second.
No logical errors apart from the documentation.
|
/// <summary> |
|
/// Gets or sets the frame delay for animated images. |
|
/// If not 0, when utilized in Png animation, this field specifies the number of hundredths (1/100) of a second to |
|
/// wait before continuing with the processing of the Data Stream. |
|
/// The clock starts ticking immediately after the graphic is rendered. |
|
/// </summary> |
|
public Rational FrameDelay { get; set; } = new(0); |
Steps to Reproduce
no
Images
No response
Prerequisites
DEBUGandRELEASEmodeImageSharp version
4.0
Other ImageSharp packages and versions
no
Environment (Operating system, version and so on)
no
.NET Framework version
no
Description
The
FrameDelayfor APNG should be measured in seconds. XMLdoc incorrectly states it as 1/100th of a second.No logical errors apart from the documentation.
ImageSharp/src/ImageSharp/Formats/Png/PngFrameMetadata.cs
Lines 33 to 39 in 3948fa8
Steps to Reproduce
no
Images
No response