You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
raise OSError(f"cannot write mode {im.mode} as JPEG") from e
OSError: cannot write mode RGBA as JPEG
Yeah i am n00b so help me out
Traceback (most recent call last):
File "C:\Users\ajcoo\AppData\Local\Programs\Python\Python39\lib\site-packages\PIL\JpegImagePlugin.py", line 610, in _save
rawmode = RAWMODE[im.mode]
KeyError: 'RGBA'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\ajcoo\Desktop\bhai time waste\make-input.py", line 42, in <module>
cover.save(new_name, im.format, quality=100, exif=exif)
File "C:\Users\ajcoo\AppData\Local\Programs\Python\Python39\lib\site-packages\PIL\Image.py", line 2164, in save
save_handler(self, fp, filename)
File "C:\Users\ajcoo\AppData\Local\Programs\Python\Python39\lib\site-packages\PIL\JpegImagePlugin.py", line 612, in _save
raise OSError(f"cannot write mode {im.mode} as JPEG") from e
OSError: cannot write mode RGBA as JPEG
The text was updated successfully, but these errors were encountered:
OSError: cannot write mode RGBA as JPEG
Yeah i am n00b so help me out
The text was updated successfully, but these errors were encountered: