Skip to content

Fix the Animated WebP render logic used by SDAnimatedImageView. #7

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

Merged
merged 1 commit into from
Jan 27, 2019

Conversation

dreampiggy
Copy link
Contributor

@dreampiggy dreampiggy commented Jan 27, 2019

The current code do extra cost. Refactor it with more simple logic.

I update the comment here to show what these code do. It's a performance enhancement to avoid loop through from 0 to follow WebP standard.

The WebP standard pseudocode for Animation rendering: https://developers.google.com/speed/webp/docs/riff_container#metadata

…urrent code do extra cost. Refactor it with more simple logic.
@dreampiggy dreampiggy added the fix label Jan 27, 2019
@dreampiggy dreampiggy force-pushed the bugfix_webp_animtion_render_logic branch from 715cee4 to 02595bc Compare January 27, 2019 07:08
@dreampiggy dreampiggy merged commit 3060843 into master Jan 27, 2019
@dreampiggy dreampiggy deleted the bugfix_webp_animtion_render_logic branch January 27, 2019 16:01
@dreampiggy dreampiggy added this to the 0.1.2 milestone Jan 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant