import image modules from PIL