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

tgs lottie very slow on android #328

Open
mzelecom opened this issue Dec 23, 2023 · 5 comments
Open

tgs lottie very slow on android #328

mzelecom opened this issue Dec 23, 2023 · 5 comments

Comments

@mzelecom
Copy link

mzelecom commented Dec 23, 2023

i load tgs file in GridView.in windows ok but in android very slow.
i used 3.0.0-alpha.4.
this is my code.
Widget loadtgs(String imageUrl, double size) { return Lottie.network( imageUrl, decoder: LottieComposition.decodeGZip, width: size, height: size, filterQuality: FilterQuality.low, repeat: false, backgroundLoading: true, renderCache: RenderCache.raster, animate: false); }
i attached the video.

tgs.mp4

in android(not flutter) i test rlottie.it is more powerfull than lottie.
rlottie is a platform independent standalone c++ library for rendering vector based animations and art in realtime.
this is link of rlottie

@xvrh
Copy link
Owner

xvrh commented Dec 23, 2023

Can you post the link to the tgs file?

I'm not sure I understand the comment about rlottie? Do you mean a native Android app with rlottie is more performant than a Flutter app and this library on the same phone? How does it compare to the normal Android Lottie library?

@mzelecom
Copy link
Author

hear files.
tgs.zip

this video is rlottie.it is very fast.befor i use rlottie i used lottie it was very slow.telegram also use rlottie(link).

tgs2.mp4

@xvrh
Copy link
Owner

xvrh commented Dec 23, 2023

How can someone use rlottie (c++) on Android? Is there an example somewhere?

@mzelecom
Copy link
Author

you can use AXrLottie for android .

@echogit
Copy link

echogit commented May 13, 2024

Is it possible to use rlottie in flutter?

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