Moved to pillow rather than PIL