Simple .gif to .tgs converter CLI utility.
This project was developed prior to Telegram update adding WebM format for stickers and emojis.
Before using this project, consider utilising WebM instead - it can handle higher resolution and framerate, and I wrote a utility to work with it as well: tgradish.
You might consider using this project if you want to make scalable animated pixel art emojis - see example.
python -m pip install pixelart2tgs
and then usage:
python -m pixelart2tgs
$ pixelart2tgs -i input.gif
## input.gif -> input.tgs
$ pixelart2tgs -i first.gif -i second.gif sticker.tgs -y
## first.gif -> first.tgs
## second.gif -> sticker.tgs
More info on usage:
$ pixelart2tgs --help