Update resize.py

Wrong import format for PIL.Image
Merge pull request #7 from minosniu/patch-1

Update resize.py