whatsapp-web.js icon indicating copy to clipboard operation
whatsapp-web.js copied to clipboard

Add set picture for profile and for groups.

Open Schwartzblat opened this issue 2 years ago • 14 comments

Schwartzblat avatar Mar 30 '22 19:03 Schwartzblat

when will this be resolved?

SauceX22 avatar Jun 02 '22 22:06 SauceX22

Following error is shown?

Error: Evaluation failed: TypeError: window.Store.SendSetPicture is not a function at puppeteer_evaluation_script:3:43 at ExecutionContext._evaluateInternal (C:\whatsapp_broadcast\node_modules\whatsapp-web.js\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:221:19) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async ExecutionContext.evaluate (C:\whatsapp_broadcast\node_modules\whatsapp-web.js\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:110:16) at async Client.setPicture (C:\whatsapp_broadcast\node_modules\whatsapp-web.js\src\Client.js:761:25)

Anyone can help to fix?

perfectlifepan000 avatar Jun 23 '22 18:06 perfectlifepan000

@perfectlifepan000 is it working now?

Schwartzblat avatar Jun 24 '22 00:06 Schwartzblat

It's there a way to do this without including a new lib? ( jimp )

tuyuribr avatar Aug 09 '22 14:08 tuyuribr

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 21 '22 01:09 stale[bot]

Hi, any updates on this?

Pryanishnik avatar Sep 23 '22 14:09 Pryanishnik

@tuyuribr

PurpShell avatar Sep 29 '22 17:09 PurpShell

@PurpShell, What do you think about Sharp?

tuyuribr avatar Oct 15 '22 15:10 tuyuribr

Nice PR, i'm looking forward it

RolandVrignon avatar Oct 25 '22 21:10 RolandVrignon

When this pull will merge?

RC047 avatar Dec 31 '22 09:12 RC047

remove sharp, achieve same functionality with browser-native functions

@PurpShell this is the only pending change?

netomarchiori avatar Jan 26 '23 17:01 netomarchiori

whats the issue with sharp for not using it? Im trying to find my way around but can’t find a way to load and resize the image without using a 3rd party library (even if its one for canvas)

netomarchiori avatar Jan 28 '23 00:01 netomarchiori

whats the issue with sharp for not using it? Im trying to find my way around but can’t find a way to load and resize the image without using a 3rd party library (even if its one for canvas)

I’m using sharp and it’s working find for me, unless I misunderstood you question.

sharon846 avatar Jan 28 '23 00:01 sharon846

whats the issue with sharp for not using it? Im trying to find my way around but can’t find a way to load and resize the image without using a 3rd party library (even if its one for canvas)

I’m using sharp and it’s working find for me, unless I misunderstood you question.

@sharon846 there was an ask not to use sharp some posts above

netomarchiori avatar Jan 28 '23 01:01 netomarchiori

Abandoned for #1916 Thank you for your contribution

PurpShell avatar Apr 01 '23 01:04 PurpShell