-
-
Notifications
You must be signed in to change notification settings - Fork 893
ImageInfo.FrameMetadataCollection not populated correctly for animated png images #3100
Copy link
Copy link
Open
Labels
Description
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
DEBUGandRELEASEmode - I have searched open and closed issues to ensure it has not already been reported
ImageSharp version
3.1.12
Other ImageSharp packages and versions
None
Environment (Operating system, version and so on)
Windows
.NET Framework version
8
Description
ImageInfo.FrameMetadataCollection is not populated correctly when running Identify.
Steps to Reproduce
public void Identify_AnimatedPng_ReadsFrameCountCorrectly()
{
TestFile testFile = TestFile.Create(TestImages.Png.AnimatedFrameCount);
using MemoryStream stream = new(testFile.Bytes, false);
ImageInfo imageInfo = Image.Identify(stream);
Assert.NotNull(imageInfo);
Assert.Equal(50, imageInfo.FrameMetadataCollection.Count);
}Images
No response
Reactions are currently unavailable