tjtanjin / simple-media-converter

Telegram bot that allows users to convert videos, images and stickers to different formats.
https://t.me/simplemediaconverterbot
MIT License
19 stars 10 forks source link

request: Use cache for .tgs (Animated sticker files) #4

Closed sentinm closed 2 years ago

sentinm commented 3 years ago

From @SimpleMediaConverterBot This bot currently does not support animated stickers :(

Use cache for .tgs files (animated telegram stckers), because it take alot time to render a .gif for a .tgs file with high encoding and without background. Some examples are given below :point_down:

tjtanjin commented 1 year ago

I know the issue has been closed but I thought I'd drop a comment here. Also apologies I actually just saw this 😅

I was updating the project briefly to bring it up to date and decided to throw in support for animated stickers as well. I've noticed that the stickers currently shows a black background when converted instead of keeping the transparency. The library you shared doesn't seem to have this issue (though it requires additional setup outside of this repository).

In the near future (hopefully), I'll look to improve the conversion. Alternatively, I'm always open to someone else coming along and adding new features x)

sentinm commented 1 year ago

Good to hear that. 🤘