Closed zeitschlag closed 1 month ago
if someone has a better idea how to differ between stickers and images: I'm all ears!
check for transparent border / edges. "real" stickers have a transparent background and a white outline to make them look like stickers, at least telegram and others have that in their guidelines for sticker creation.
After a short debate we decided to check for size for now.
what if my sticker is high-res? or is this size some official number/size for sticker keyboards on iOS? like where does the number 140
come from?
isSticker
with checking on image sizes feels so wrong, if someone has a better idea how to differ between stickers and images: I'm all ears!After a short debate we decided to check for size for now. If that doesn't work well enough, we'll consider adding a check for a transparent pixel on
[0, 0]