Changing import of Image

The::

    import Image as PImage

was failing since the switch to Pillow. This commit changes it to::

    from PIL import Image

There was no other use of 'Image' in the file so I also removed the 'as PImage' and updated the code to match