Use pillow instead of PIL