from PIL import Image
from cStringIO import StringIO

data 
= StringIO(urlopen(img).read())
im 
= Image.open(data)
x,y 
= im.size


相关文章: