use 'from PIL import Image' instead of 'import Image'
Merge pull request #32 from ghxiao/master

Fix PIL import. Closes #29.