krypton-byte / neonize

whatsapp automation library, written in python
http://krypton-byte.me/neonize/
Apache License 2.0
47 stars 11 forks source link

Can't send .png file #26

Closed galihmrd closed 1 month ago

galihmrd commented 1 month ago

Log:

File "/usr/local/lib/python3.11/dist-packages/neonize/client.py", line 848, in build_image_message
    img.save(thumbnail, format="jpeg")
  File "/usr/local/lib/python3.11/dist-packages/PIL/Image.py", line 2459, in save
    save_handler(self, fp, filename)
  File "/usr/local/lib/python3.11/dist-packages/PIL/JpegImagePlugin.py", line 653, in _save
    raise OSError(msg) from e
OSError: cannot write mode RGBA as JPEG
krypton-byte commented 1 month ago

I've fixed it, try updating the neonize library

galihmrd commented 1 month ago

Works, thanks!