Pillow requirement for image resizing