switch from PIL to Pillow