Skip to content

ImageInfo.FrameMetadataCollection not populated for animated webp images #2992

Description

@andreas-eriksson

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

3.1.11

Other ImageSharp packages and versions

N/A

Environment (Operating system, version and so on)

Windows

.NET Framework version

.NET 9

Description

The FrameMetadataCollection of ImageInfo is not populated for animated webp images and is always 0.

Steps to Reproduce

var imageInfo = Image.Identify(stream);
var numFrames = imageInfo.FrameMetadataCollection.Count;

Images

No response

Activity

  1. added 2 commits that reference this issue on Oct 23, 2025
    338fd4c
    9443543
  2. andreas-eriksson commented on Oct 29, 2025

    @andreas-eriksson
    ContributorAuthor

    Thanks. I have verified that this works for animated webp images in the latest release.

    I also tested with an animated png image, but it does not seem to work. Should I add another issue or is that expected behavior?

  3. JimBobSquarePants commented on Oct 29, 2025

    @JimBobSquarePants
    Member

    I think we've already fixed that in main for PNG which will be in the upcoming v4 release. Certainly, looks that way.

  4. andreas-eriksson commented on Oct 29, 2025

    @andreas-eriksson
    ContributorAuthor

    Is there a date set for v4 or can it be backported to v3?

  5. JimBobSquarePants commented on Oct 29, 2025

    @JimBobSquarePants
    Member

    I would like to ship v4 before the end of the year but there’s still a lot to do. If someone else wants to backport it to 3.1.x branch then I’ll release an update. Otherwise I need to focus.

  6. andreas-eriksson commented on Oct 29, 2025

    @andreas-eriksson
    ContributorAuthor

    Ok, thanks. I'll wait for v4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions