Import Image from PIL package for more regular form and compatibility with Pillow.