i scraped from the web some pictures with aiohttp and i got them saved in a list filled with arrays like this('\xe25\xd7\xeeP{\x08\x18-6\x809\xabQ1LQ\xf0\x02hC\x11\x97*.\xc8...')
i am trying to display the pictures using canvas and Photoimage but it doesnt work
here are some fragments of my code, thanks in advance and sorry for my english
bytesfoto=self.fotobytes[indice]
img = ImageTk.PhotoImage(Image.open(BytesIO(bytesfoto)))
self.canvas.create_image(20, 20, anchor=NW, image=img)
self.canvas = Canvas(width=300, height=300)
self.canvas.grid(row=2, column=1)