archive = zipfile.ZipFile('test.zip', 'r') imgdata = archive.read('0030.png') im=Image.open(imdata) im.show()
archive = zipfile.ZipFile('test.zip', 'r') imgdata = archive.read('0030.png') im=Image.open(imdata) im.show()
from PIL import Image import io import zipfile archive = zipfile.ZipFile('test.zip', 'r') imgdata = archive.read('0035.png') f=io.BytesIO(imgdata) im=Image.open(f) im.show()