airbnb / lottie-android

Render After Effects animations natively on Android and iOS, Web, and React Native
http://airbnb.io/lottie/
Apache License 2.0
34.92k stars 5.4k forks source link

Add support for Luma nad Inverted Luma matte mode #2510

Open alexzhirkevich opened 2 months ago

alexzhirkevich commented 2 months ago

Hi. Added support for Luma and Inverted Luma matte mode

cc @gpeal

github-actions[bot] commented 2 months ago

Snapshot Tests API 23: Report Diff API 31: Report Diff

bunduqia commented 2 months ago

I added 8 Lottie and when downloading the application they load very slowly because of this I was denied application hosting. Then I added a separate cache with Lottie to speed up the method, the method does not provide accelerated loading, I added loading from the cache to RAM, the method did not provide acceleration. I added Lottie's RAM preload and instant output for faster loading. Lottie sizes: 148, 43, 81, 66, 256, 17, 42, 180 KB and they can't load at the same time, the smaller ones appear first and the larger ones appear last, it feels like working with Lottie is very slow. system, it reminded me of i386 computers from 1998 that took a long time to boot. Please do something about this. In the meantime, I’m switching again to GIF, where files of this size or larger are loaded instantly without a brake or sequential appearance.