doubleplusc / Line-sticker-downloader

89 stars 26 forks source link

Invalid sticker size to Telegram Sticker #16

Closed sagelga closed 4 years ago

sagelga commented 4 years ago

Hey, I just saw your repo and It makes the jobs done. But, when I am downloading this sticker pack : https://store.line.me/stickershop/product/16191/en it gives out the .png that is not in 512x512 format that Telegram wants, so I cannot just upload it to Sticker bot

as it said

Sorry, the image dimensions are invalid. Please check that the image fits into a 512x512 square (one of the sides should be 512px and the other 512px or less).

Edit : The sticker output is like 251 x 210 px in size. So it is not valid as either height or width must be sized 512 px

Can you create a functionality that automatically detects the output sticker size and makes the sticker size valid to Telegram?

Thanks!

sagelga commented 4 years ago

This may not be in your project scope, so I decided to close it. If you feel like to, you could reopen this issue.