cara menyimpan file .png dalam variabel python

from PIL import Image                                                                                
>>> img = Image.open('test.png')
>>> img.show() 
multiverse coder'