swap PIL for Pillow