Skip to content

Incorrect XMLDoc of APNG #2988

@Poker-sang

Description

@Poker-sang

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of ImageSharp
  • I have verified if the problem exist in both DEBUG and RELEASE mode
  • I have searched open and closed issues to ensure it has not already been reported

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions