You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can not load gif image from url when using backgroundDecode.
It's just displayed with static image, not animated image.
If i removed option backgroundDecode, it's oke but make a lagging for many gif images on the screen.
How can i fix it?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
If you're experiencing issues with loading animated GIF images from URLs when using the backgroundDecode option in Kingfisher, there are a few potential solutions you can try:
Increase Memory Limit: The backgroundDecode option allows images to be decoded in the background, which can improve performance but may consume more memory. If you're experiencing issues with animated GIFs not loading properly, try increasing the memory limit for Kingfisher by setting the cacheMemoryCost property of the ImageCache.default instance to a higher value. This can help ensure that enough memory is available for decoding animated GIFs.
Limit Concurrent Downloads: Kingfisher allows you to limit the number of concurrent image downloads using the maximumConcurrentDownloads property of the ImageDownloader.default instance. By reducing the number of concurrent downloads, you can prevent excessive memory usage and improve performance, especially when loading multiple GIF images simultaneously.
ImageDownloader.default.maxConcurrentDownloads = 4 // Limit to 4 concurrent downloads
I can not load gif image from url when using backgroundDecode.
It's just displayed with static image, not animated image.
If i removed option backgroundDecode, it's oke but make a lagging for many gif images on the screen.
How can i fix it?
Thanks in advance.
The text was updated successfully, but these errors were encountered: