Skip to content

fix: throw on non-positive saveGif duration - #9057

Open
deepshekhardas wants to merge 1 commit into
processing:mainfrom
deepshekhardas:fix/8710-savegif-duration-v2
Open

fix: throw on non-positive saveGif duration#9057
deepshekhardas wants to merge 1 commit into
processing:mainfrom
deepshekhardas:fix/8710-savegif-duration-v2

Conversation

@deepshekhardas

Copy link
Copy Markdown

Fixes #8710

When \duration\ is <= 0, the frame-count calculation is invalid. Throw a TypeError like the existing non-number check.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

saveGif() crashes when duration <= 0 (empty frame list path)

1 participant