from PIL import Imagefrom cStringIO import StringIOdata = StringIO(urlopen(img).read())im = Image.open(data)x,y = im.size 相关文章: