Replace PIL dependency with skimage dependency