diff --git a/src/ImageSharp/Formats/Png/PngMetadata.cs b/src/ImageSharp/Formats/Png/PngMetadata.cs
index c4ff3bbe24..766377f7c9 100644
--- a/src/ImageSharp/Formats/Png/PngMetadata.cs
+++ b/src/ImageSharp/Formats/Png/PngMetadata.cs
@@ -29,6 +29,7 @@ public class PngMetadata : IDeepCloneable
this.InterlaceMethod = other.InterlaceMethod;
this.TransparentColor = other.TransparentColor;
this.RepeatCount = other.RepeatCount;
+ this.DefaultImageAnimated = other.DefaultImageAnimated;
if (other.ColorTable?.Length > 0)
{
@@ -86,7 +87,7 @@ public class PngMetadata : IDeepCloneable
///
/// Gets or sets a value indicating whether the default image is shown as part of the animated sequence
///
- public bool DefaultImageAnimated { get; set; }
+ public bool DefaultImageAnimated { get; set; } = true;
///
public IDeepCloneable DeepClone() => new PngMetadata(this);
diff --git a/tests/ImageSharp.Tests/Formats/Png/PngMetadataTests.cs b/tests/ImageSharp.Tests/Formats/Png/PngMetadataTests.cs
index b3c122a7a8..4f9ba9abee 100644
--- a/tests/ImageSharp.Tests/Formats/Png/PngMetadataTests.cs
+++ b/tests/ImageSharp.Tests/Formats/Png/PngMetadataTests.cs
@@ -32,7 +32,8 @@ public class PngMetadataTests
InterlaceMethod = PngInterlaceMode.Adam7,
Gamma = 2,
TextData = new List { new PngTextData("name", "value", "foo", "bar") },
- RepeatCount = 123
+ RepeatCount = 123,
+ DefaultImageAnimated = false
};
PngMetadata clone = (PngMetadata)meta.DeepClone();
@@ -44,6 +45,7 @@ public class PngMetadataTests
Assert.False(meta.TextData.Equals(clone.TextData));
Assert.True(meta.TextData.SequenceEqual(clone.TextData));
Assert.True(meta.RepeatCount == clone.RepeatCount);
+ Assert.True(meta.DefaultImageAnimated == clone.DefaultImageAnimated);
clone.BitDepth = PngBitDepth.Bit2;
clone.ColorType = PngColorType.Palette;