-
Notifications
You must be signed in to change notification settings - Fork 405
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
Grab sticker #333
Comments
You can grab custom (server-uploaded stickers) because they are stored in image formats. Not with built-in stickers like the Wumpus pack and such... they use Lottie and trying to grab them only results in an unreadable .json file. As for custom stickers, /*
/ Not enough explaination?
*/ Click away if you have nerdphobia: Lottie is a library for Android, iOS, Web, and Windows that parses Adobe After Effects animations exported as json with Bodymovin and renders them natively on mobile and on the web. Early days of Dynamic AnimationIn the year 2014 with the release of Android 5.0 (API 21) Lollipop, Android supported Vector Drawables and Animated Vector Drawables.But even with the support for Animated Vector Drawables, making dynamic vector animation was not easy. It couldn't be loaded programmatically or over the internet. Moreover, it had issues with resolving vector path transformation animation in Android 4.x. Producing AnimationSome other ways to produce the animation effect were:
The direct consequence of the above is that there was not a hint of dynamic vector animation in almost all the major apps, but until the emergence of Lottie. Emergence of LottieLottie is an animation rendering library open-sourced by Airbnb. With Android, it also supports iOS, React Native, Windows, and Web platforms. Lottie currently supports rendering and playing After Effects animations. Lottie uses the JSON data exported by bodymovin, an After Effects plug-in as the animation data source.Designers use After Effects to make animations and export JSON files. We can put the JSON file on the svg-sprite Lottie-Player and run it to see the effect. |
Add a cmd so we can also grab a sticker like a emoji
The text was updated successfully, but these errors were encountered: