From 7f4b4575210bb580826ea0fefad37c4b605a9590 Mon Sep 17 00:00:00 2001 From: James Jackson-South Date: Fri, 17 Nov 2023 13:31:36 +1000 Subject: [PATCH] Default loop count should be 1 --- src/ImageSharp/Formats/Png/PngMetadata.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ImageSharp/Formats/Png/PngMetadata.cs b/src/ImageSharp/Formats/Png/PngMetadata.cs index 8e2691c104..7f4052846a 100644 --- a/src/ImageSharp/Formats/Png/PngMetadata.cs +++ b/src/ImageSharp/Formats/Png/PngMetadata.cs @@ -81,7 +81,7 @@ public class PngMetadata : IDeepCloneable /// /// Gets or sets the number of times to loop this APNG. 0 indicates infinite looping. /// - public uint RepeatCount { get; set; } + public uint RepeatCount { get; set; } = 1; /// public IDeepCloneable DeepClone() => new PngMetadata(this);