-
Notifications
You must be signed in to change notification settings - Fork 24
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
bug: Sometimes, GIF images do not animate on Android. On iOS, GIF images load a little slowly. #380
Comments
hey @ng-ha
gif_android.mp4 |
Sorry for the delayed reply! @duguyihou
Screen.Recording.2024-12-02.at.13.16.42.mov
Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-12-02.at.13.57.40.mp4 |
Re Android, I can reproduce it. Will look into it. Re iOS, I can see it does not take much time to load the gif image, see the screenshots. It is quite wired to me as well. Then I found Improve how Gifu uses system resources. The issue was raised by the author of Nuke. My guess is your gif image has more details so it take more system resources. Unfortunately, I don't have much knowledge about gif. I will do more investigation later. |
Thank you! When I replace the |
hey @ng-ha I am not saying the gif size. Maybe it is the way Gifu render gif image. From the video, you can see the gif data is fetched by Nuke quickly and sent to slow_gif.movBesides, I also tried another url (https://i.gifer.com/GDpJ.gif). I did not see any delay. Does it always happen for all your gif urls? Simulator.Screen.Recording.-.iPhone.16.-.2024-12-03.at.17.50.58.mp4 |
Hi @duguyihou! No, it doesn't always happen for all my gif urls. I have other GIFs that loads fast: |
@ng-ha Okay, it may be |
@ng-ha |
@duguyihou The GIFs work fine without prefetching. So technically, it's not critical issue. I can avoid this issue by carefully checking and prefetching. I just wanted to raise the issue as a suggestion for improving the package. |
This issue is stale because it has been open 15 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
This issue is stale because it has been open 15 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
What's happening?
Sometimes, GIF images do not animate on Android. On iOS, GIF images load a little slowly.
Reproduceable Code
None
Relevant log output
Device
Android Devices
TurboImage Version
1.20.0
Can you reproduce this issue in the TurboImage Example app?
Yes, I can reproduce the same issue in the Example app
The text was updated successfully, but these errors were encountered: