zeroone2numeral2 / sticker-thief

Telegram bot to build custom sticker packs
https://t.me/stickersthiefbot
MIT License
68 stars 42 forks source link

/toemoji: keep aspect rateo #53

Closed zeroone2numeral2 closed 2 years ago

zeroone2numeral2 commented 2 years ago

Right now, when we need to resize a sticker, we just resize it to 100x100, which is the only size Telegram accepts.

Stickers, btw, can be a rectangle (and not a square), because Telegram enforces that just one side must be 512px - the other one can be smaller. Resizing a non-square sticker to 100x100 will change its aspect rateo