Using Pillowinstead of PIL