flutter_native_splash icon indicating copy to clipboard operation
flutter_native_splash copied to clipboard

Change Framerate for GIF in for flutter web

Open DragonSlayer88 opened this issue 2 years ago • 5 comments

i have a gif that works as a splashscreen, and it has a framerate of 24. but when i see it on the app it seems to be like 5 or 10 and its very choppy. Can you add a feature to change that. or make it smoother?

DragonSlayer88 avatar Aug 10 '23 19:08 DragonSlayer88

Is this problem on web? Can you add your source GIF?

jonbhanson avatar Aug 13 '23 15:08 jonbhanson

Yes it's an issue on web. And I can't share the gif because it has a company logo on it. But you can try it with any gif that has a high frame rate.

DragonSlayer88 avatar Aug 13 '23 15:08 DragonSlayer88

@OutdatedGuy can you look at this?

jonbhanson avatar Dec 31 '23 16:12 jonbhanson

It looks like the problem might be in the image package here that we use to encode gif.

So I don't think we can do anything about this at the moment.

OutdatedGuy avatar Jan 03 '24 10:01 OutdatedGuy

@DragonSlayer88 it looks like there was a framerate fix that was added in the image package. Can you confirm that the problem has been resolved?

jonbhanson avatar Jan 07 '24 14:01 jonbhanson

Closed due to inactivity. Feel free to reopen if you are still having a problem.

jonbhanson avatar Jan 28 '24 15:01 jonbhanson