Comments (12)
from whatsasenaduplicated.
I will look into it, let's see if we can do something like stickerly bir on Telegram.
from whatsasenaduplicated.
from whatsasenaduplicated.
Yes please but take in mind to import sticker pack ..
On Sat 20 Feb, 2021, 10:30 AM Muhammed Kaplan, [email protected]
wrote:I will look into it, let's see if we can do something like stickerly bir
on Telegram.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#21 (comment),
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASYKSEXPBJKWF23IVTJ6YSDS746WXANCNFSM4X4JKP6A
.
I don't it's possible neither making stickers or import stickers because of limited api support from WhatsApp.
from whatsasenaduplicated.
from whatsasenaduplicated.
So is thre any way to get pack direct from telegram to whatsapp ...
Whit use of asena...
On Sat 20 Feb, 2021, 2:41 PM Muhammed Kaplan, [email protected]
wrote:Yes please but take in mind to import sticker pack ..
On Sat 20 Feb, 2021, 10:30 AM Muhammed Kaplan, [email protected]
wrote:I will look into it, let's see if we can do something like stickerly bir
on Telegram.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#21 (comment)
#21 (comment)
,
or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASYKSEXPBJKWF23IVTJ6YSDS746WXANCNFSM4X4JKP6A
.I don't it's possible neither making stickers or import stickers because
of limited api support from WhatsApp.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#21 (comment),
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASYKSERMQFZRD6TRVA6ISITS754F7ANCNFSM4X4JKP6A
.
No, you can only install stickers from play store or with help of another application.
from whatsasenaduplicated.
from whatsasenaduplicated.
I have a suggestion regarding the sticker feature in WhatsAsena. The aspect ratio is not kept while converting to sticker now. To say in simple terms, a rectangular picture is compressed literally to make into a square picture. This affects the sticker quality. Is it possible to keep the aspect ratio of the image which is being converted to sticker as the aspect ratio of the sticker. I would be a good thing then I guess.
from whatsasenaduplicated.
I have a suggestion regarding the sticker feature in WhatsAsena. The aspect ratio is not kept while converting to sticker now. To say in simple terms, a rectangular picture is compressed literally to make into a square picture. This affects the sticker quality. Is it possible to keep the aspect ratio of the image which is being converted to sticker as the aspect ratio of the sticker. I would be a good thing then I guess.
Hi @Vai838 😊
I know the problem you're talking about. I noticed something like, sticker aspect ratio should be 1:1
I haven't seen any other ratio than this aspect ratio, yet.
I will keep searching if there is a solution.
Have a nice day 👏🏻
from whatsasenaduplicated.
from whatsasenaduplicated.
Can you just solve the . (Dot) problem If u just type (.)And keep every thing blank Its work as command and show deleted sigh this make complicated thing to use and can't identify the command properly...
…
On Mon 22 Feb, 2021, 1:56 PM Thiccy, @.***> wrote: I have a suggestion regarding the sticker feature in WhatsAsena. The aspect ratio is not kept while converting to sticker now. To say in simple terms, a rectangular picture is compressed literally to make into a square picture. This affects the sticker quality. Is it possible to keep the aspect ratio of the image which is being converted to sticker as the aspect ratio of the sticker. I would be a good thing then I guess. Hi @Vai838 https://github.com/Vai838 😊 I know the problem you're talking about. I noticed something like, sticker aspect ratio should be 1:1 I haven't seen any other ratio than this aspect ratio, yet. I will keep searching if there is a solution. Have a nice day 👏🏻 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#21 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASYKSES3AZ22AAONXKYVAW3TAIILVANCNFSM4X4JKP6A .
Hi @happuji
This is a ai command detection system. But we removed it because it had trouble. That's why you should update the bot.
from whatsasenaduplicated.
I have a suggestion regarding the sticker feature in WhatsAsena. The aspect ratio is not kept while converting to sticker now. To say in simple terms, a rectangular picture is compressed literally to make into a square picture. This affects the sticker quality. Is it possible to keep the aspect ratio of the image which is being converted to sticker as the aspect ratio of the sticker. I would be a good thing then I guess.
Hi @Vai838 blush
I know the problem you're talking about. I noticed something like, sticker aspect ratio should be 1:1
I haven't seen any other ratio than this aspect ratio, yet.I will keep searching if there is a solution.
Have a nice day 👏🏻
hello...
I happened to see a javascript bot program that does the original aspect ratio keeping. Though sometimes its better to have 1:1 ratio , Sometimes its better if the sticker kept the original aspect ratio of the image. The code for converting an image into a sticker of the same aspect ratio obtained from the bot i said previously is added below:
case 'stiker':
case 'sticker':
case 's':
if (isBanned) return reply(ind.baned())
if (!isRegistered) return reply(ind.noregis())
if (isLimit(sender)) return reply(ind.limitend(pusname))
await limitAdd(sender)
if ((isMedia && !mek.message.videoMessage || isQuotedImage) && args.length == 0) {
const encmedia = isQuotedImage ? JSON.parse(JSON.stringify(mek).replace('quotedM','m')).message.extendedTextMessage.contextInfo : mek
const media = await client.downloadAndSaveMediaMessage(encmedia)
ran = getRandom('.webp')
await ffmpeg(`./${media}`)
.input(media)
.on('start', function (cmd) {
console.log(`Started : ${cmd}`)
})
.on('error', function (err) {
console.log(`Error : ${err}`)
fs.unlinkSync(media)
reply(ind.stikga())
})
.on('end', function () {
console.log('Finish')
buffer = fs.readFileSync(ran)
client.sendMessage(from, buffer, sticker, {quoted: mek})
fs.unlinkSync(media)
fs.unlinkSync(ran)
})
.addOutputOptions([`-vcodec`,`libwebp`,`-vf`,`scale='min(320,iw)':min'(320,ih)':force_original_aspect_ratio=decrease,fps=15, pad=320:320:-1:-1:[email protected], split [a][b]; [a] palettegen=reserve_transparent=on:transparency_color=ffffff [p]; [b][p] paletteuse`])
.toFormat('webp')
.save(ran)
} else if ((isMedia && mek.message.videoMessage.seconds < 11 || isQuotedVideo && mek.message.extendedTextMessage.contextInfo.quotedMessage.videoMessage.seconds < 11) && args.length == 0) {
const encmedia = isQuotedVideo ? JSON.parse(JSON.stringify(mek).replace('quotedM','m')).message.extendedTextMessage.contextInfo : mek
const media = await client.downloadAndSaveMediaMessage(encmedia)
ran = getRandom('.webp')
reply(ind.wait())
await ffmpeg(`./${media}`)
.inputFormat(media.split('.')[1])
.on('start', function (cmd) {
console.log(`Started : ${cmd}`)
})
.on('error', function (err) {
console.log(`Error : ${err}`)
fs.unlinkSync(media)
tipe = media.endsWith('.mp4') ? 'video' : 'gif'
reply(ind.stikga())
})
.on('end', function () {
console.log('Finish')
buffer = fs.readFileSync(ran)
client.sendMessage(from, buffer, sticker, {quoted: mek})
fs.unlinkSync(media)
fs.unlinkSync(ran)
})
.addOutputOptions([`-vcodec`,`libwebp`,`-vf`,`scale='min(320,iw)':min'(320,ih)':force_original_aspect_ratio=decrease,fps=15, pad=320:320:-1:-1:[email protected], split [a][b]; [a] palettegen=reserve_transparent=on:transparency_color=ffffff [p]; [b][p] paletteuse`])
.toFormat('webp')
.save(ran)
} else {
reply(`Send pictures / videos / gifs with caption \n${prefix}sticker (duration of the video sticker 1-6 sec)`)
}
Please look into it.
Hope it helps.
Thanks
Have a nice day!
from whatsasenaduplicated.
Related Issues (20)
- [Feature Request] A quiz bot like Telegram! 💥 HOT 2
- i tried using the hard method. (running it locally) HOT 3
- Add Whatsapp beta Support HOT 3
- scan qr error HOT 6
- Termux qr error HOT 2
- Baileys error HOT 4
- Baileys error HOT 1
- Bailey's error can't scan qr HOT 1
- Insta cmd not working. HOT 1
- Can't generate asena session HOT 5
- Bot is not working fine HOT 2
- Qr code HOT 1
- help me, how to compile baileys for .js HOT 1
- webp2mp4File not working anymore HOT 3
- Error to deploy bot on VPS HOT 1
- Cannot deploy heroku HOT 1
- WhatsApp HOT 1
- PLEASE ADD WHATSAPP MULTI DEVICE SUPPORT HOT 4
- Error to scan QR code HOT 3
- QR code is not working HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whatsasenaduplicated.