Update resize.py

Wrong import format for PIL.Image