Skip to content

sliva0/pixelart2tgs

Repository files navigation

pixelart2tgs

Simple .gif to .tgs converter CLI utility.

Source GIF Tg demonstation

Warning

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.

Some not so user-friendly alternatives

Installation

python -m pip install pixelart2tgs

and then usage:

python -m pixelart2tgs

Usage examples

$ 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

License

MIT License