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

.backgroundDecode not working with GIF #625

Closed
wendyabrantes opened this issue Mar 16, 2017 · 2 comments
Closed

.backgroundDecode not working with GIF #625

wendyabrantes opened this issue Mar 16, 2017 · 2 comments

Comments

@wendyabrantes
Copy link

Using the option KingfisherOptionsInfo .backgroundDecode make the image still when used with Gif.
I was trying to use this cause gif are being encoded/decoded on the main thread and its really laggy on a collection view

@onevcat
Copy link
Owner

onevcat commented Mar 20, 2017

Background decoding does not support back ground decode now. And it could help little on this.

The main reason of lagging gif might mainly be that you trying to use the AnimatedImageView. You could try to use the normal UIImageView if the size of your GIF image is not large. You have to get a balance of memory/cpu usage between the two modes (all decode at once or decode one image per frame).

@danleechina
Copy link

danleechina commented Oct 12, 2019

I am facing the same problem in 4.10.1 version. And I am using normal UIImageView.

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

No branches or pull requests

3 participants