3mora2 / WPP_Whatsapp

WPP_Whatsapp aim of exporting functions from WhatsApp Web to the python, which can be used to support the creation of any interaction, such as customer service, media sending, intelligence recognition based on phrases artificial and many other things, use your imagination
MIT License
75 stars 12 forks source link

The size of the image is too large. Is there any good way to deal with it? Should I compress it myself or is there a function that can handle it? #19

Closed Jeck-Liu-Create closed 9 months ago

Jeck-Liu-Create commented 9 months ago

When I send a picture, I get a sending error.

{'ack':None, 'id': None, 'sendMsgResult': None, 'error': 'File (image/size)=24760929 '}
3mora2 commented 9 months ago

you can use pillow to resize or reduse size

Jeck-Liu-Create commented 9 months ago

OK