changing pil to pillow