KeyError: 'RGBA'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "configcom_func.py", line 241, in add_watermark
File "PILImage.py", line 2240, in save
File "PILJpegImagePlugin.py", line 631, in _save
OSError: cannot write mode RGBA as JPEG