LottieFiles / tgskit

Toolkit for dealing with Telegram Stickers and Bodymovin/Lottie animations.
62 stars 11 forks source link

[Question]: Convert TGS to Lottie JSON #2

Open Drjacky opened 3 years ago

Drjacky commented 3 years ago

Is it possible to convert TGSs to Lottie JSON file? If no, is that possible to have this feature?

Yablonev commented 1 year ago

It would be great! Also waiting...

Drjacky commented 1 year ago

Third-party Solution:

  1. If you don't have the TGS file, download the TGS format of the sticker with the help of this telegram bot: https://t.me/Stickerdownloadbot or any other way you know.
  2. Convert that TGS to Lottie JSON with the help of this https://michielp1807.github.io/lottie-editor/#/. [Source: https://github.com/MichielP1807/lottie-editor]

[Source: https://stackoverflow.com/a/71830351/421467]

JokinYang commented 1 year ago

.tgs is a zip format file. When you unzip the .tgs file you can get the JSON you want.