using pillow instead of PIL