swap in lib pillow in place of PIL.