WSI Read and write utility for different resolution and scale