Git Product home page Git Product logo

Comments (12)

 avatar commented on June 1, 2024 1

from whatsasenaduplicated.

MuhammedKpln avatar MuhammedKpln commented on June 1, 2024

I will look into it, let's see if we can do something like stickerly bir on Telegram.

from whatsasenaduplicated.

 avatar commented on June 1, 2024

from whatsasenaduplicated.

MuhammedKpln avatar MuhammedKpln commented on June 1, 2024

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.

 avatar commented on June 1, 2024

from whatsasenaduplicated.

MuhammedKpln avatar MuhammedKpln commented on June 1, 2024

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 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.


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.

 avatar commented on June 1, 2024

from whatsasenaduplicated.

Vai838 avatar Vai838 commented on June 1, 2024

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.

phaticusthiccy avatar phaticusthiccy commented on June 1, 2024

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.

 avatar commented on June 1, 2024

from whatsasenaduplicated.

phaticusthiccy avatar phaticusthiccy commented on June 1, 2024

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.

Vai838 avatar Vai838 commented on June 1, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.