cannot identify image file <_io.BytesIO object
Mathgife opened this issue · 2 comments
Mathgife commented
Hi! Thanks for the API!
In your example: "Use the images in your code without saving", when I tried to run I obtained the following error:
UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x000002AF3B048AE0>
The error points to the line: 5 image = Image.open(BytesIO(base64.decodebytes(i.encode("utf-8"))))
Do you know how to fix this?
Thanks in advance!
FireHead90544 commented
I am currently having my university exams these days. I'll be checking it in a day or so. Will be providing a fix by then :)
FireHead90544 commented