require Pillow instead of PIL