Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If n_frames is known, then use when determining is_animated #2315

Merged
merged 1 commit into from Sep 29, 2017

Conversation

radarhere
Copy link
Member

@radarhere radarhere commented Dec 28, 2016

For some plugins, is_animated seeks within the image to determine whether or not an image is 'animated'. However, if the number of frames in the image is already known, then this is unnecessary.

@radarhere
Copy link
Member Author

Okay, I've added tests.

@wiredfool wiredfool merged commit fd8ee84 into python-pillow:master Sep 29, 2017
@radarhere radarhere deleted the is_animated branch September 29, 2017 22:48
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.

None yet

3 participants