Skip to content

Add ImageResource.FrameCount #15430

Closed

Description

@bep
  • Returns > 1 for animated images
  • Else 1
  • For JPEG XL it will currently always return 1 (a technical limitation we may fix in the future) (will be added in Add basic JPEG XL support (no processing for now) #15431)
  • All resources where reflect.IsImageResourceWithMeta returns true has a FrameCount.

Activity

  1. self-assigned this
    on Oct 10, 2026
  2. added this to the v0.168.0 milestone on Oct 10, 2026
  3. changed the title [-]Add reflect.IsImageResourceAnimated[/-] [+]Add Image.FrameCount[/+] on Oct 10, 2026
  4. changed the title [-]Add Image.FrameCount[/-] [+]Add ImageResource.FrameCount[/+] on Oct 10, 2026
  5. pinned this issue on Oct 10, 2026
  6. added 2 commits that reference this issue on Oct 11, 2026
    5e576e7
    74ff1e9
  7. added a commit that references this issue on Oct 11, 2026
    c9f6e4d
  8. unpinned this issue on Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions