https://github.com/sliva0/pixelart2tgs
Simple .gif to .tgs converter cli utility.
https://github.com/sliva0/pixelart2tgs
cli converter gif telegram telegram-stickers tgs
Last synced: about 1 year ago
JSON representation
Simple .gif to .tgs converter cli utility.
- Host: GitHub
- URL: https://github.com/sliva0/pixelart2tgs
- Owner: sliva0
- License: mit
- Created: 2021-11-18T16:18:30.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-01-29T20:58:50.000Z (over 1 year ago)
- Last Synced: 2025-03-30T10:08:40.489Z (about 1 year ago)
- Topics: cli, converter, gif, telegram, telegram-stickers, tgs
- Language: Python
- Homepage: https://pypi.org/project/pixelart2tgs/
- Size: 412 KB
- Stars: 45
- Watchers: 1
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# pixelart2tgs
Simple .gif to .tgs converter CLI utility.


## Warning
This project was developed prior to [Telegram update][UPD] 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][TGR].
You might consider using this project if you want to make scalable animated pixel art emojis - see [example][RGI].
[UPD]: https://telegram.org/blog/video-stickers-better-reactions
[TGR]: https://github.com/sliva0/tgradish
[RGI]: https://github.com/sliva0/pixelart2tgs/issues/7
## Some not so user-friendly alternatives
- [MattBas's lottie](https://pypi.org/project/lottie/)
- [bodqhrohro's giftolottie](https://github.com/bodqhrohro/giftolottie)
## Installation
``` console
python -m pip install pixelart2tgs
```
and then usage:
``` console
python -m pixelart2tgs
```
## Usage examples
``` console
$ pixelart2tgs -i input.gif
## input.gif -> input.tgs
```
``` console
$ pixelart2tgs -i first.gif -i second.gif sticker.tgs -y
## first.gif -> first.tgs
## second.gif -> sticker.tgs
```
More info on usage:
``` console
$ pixelart2tgs --help
```
## License
[MIT License](LICENSE.txt)