Switched to Pillow imaging library