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

Fix incorrectly extracted GIF loop count value #27

Merged
merged 1 commit into from
Apr 21, 2016

Conversation

stanmots
Copy link
Contributor

To obtain correct GIF loop count parameter we must firstly retrieve a dictionary with the global GIF properties using kCGImagePropertyGIFDictionary key.

For your convenience, here is an animation with a custom loop count so you can easily test how this fix works:
loopcount3

@ibireme ibireme merged commit f42422b into ibireme:master Apr 21, 2016
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.

2 participants