use Pillow instead of PIL for imaging