ed-asriyan / lottie-converter

Converts Lottie Animations (.json / .lottie) and Telegram stickers (*.tgs) to GIF / PNG / APNG / WEBP / WEBM
https://t.me/tgtowabot
MIT License
795 stars 72 forks source link

How to convert TGS to APNG? #82

Closed AvanZ69 closed 1 year ago

AvanZ69 commented 1 year ago

Hi guys, I don't have much knowledge about coding. I was easily able to converts stickers to GIFs using the bot, but from the readme.txt where you explained a way how we can convert stickers to APNG, I couldn't understand the process. Can you explain it simply?

ed-asriyan commented 1 year ago
  1. Install Docker Desktop
  2. Download all .tgs files you want to convert to one directory
  3. Run the following command in terminal (powershell in windows), replace replace_with_path_to_directory_with_stickers with path to directory with stickers:
    docker run --rm -v replace_with_path_to_directory_with_stickers:/source edasriyan/tgs-to-apng
  4. Converted files will be saved next to each source sticker file in the same directory.

More info here: https://github.com/ed-asriyan/tgs-to-gif#using-docker