wa-sticker-formatter
wa-sticker-formatter copied to clipboard
sticker from video or gif is generated with a strange effect
the sticker looks like the example below:
any way to fix or avoid this weird effect?
my code:
const sticker = new Sticker(buffer, {
pack: 'thierry', // The pack name
author: 'bot thierry', // The author name
type: StickerTypes.FULL, // The sticker type
categories: ['🤩', '🎉'], // The sticker category
id: '1234', // The sticker id
quality: 50, // The quality of the output file
})
await sticker.toFile('./static/sticker.webp')
https://github.com/AlenSaito1/wa-sticker-formatter/pull/29 Future fix
any update for this? also, my phone can't play animate sticker that was generated
This issue was fixed a while ago.
You can try decreasing the quality. Whatsapp will only play animated stickers if the size is 1MB or less