Skip to content

getTotalDuration returns 0 for a 117 frame GIF? #7

@lukeify

Description

@lukeify

I'm not even sure this repo is maintained anymore. I sure hope it is, since it could be very useful.

Can anyone please explain why this GIF returns a getTotalDuration() of 0? GifFrameExtractor recognizes it has frames, 117 of them, but it returns a frameDuration of 0 for each, which adds up to 0. -_-

This isn't exactly helpful. I suspect it has something to do with 'Delay Time' vs. 'Unclamped Delay Time', as inspecting it with Preview on Mac shows the former to have a value of 0.1, and the latter to be 0.

Help, ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions