title: How to scale up the 20x (.svs whole-slide-image) to 40x slides?
body: <p>I have a whole-slide-images (.svs format) which are scanned at 20x. For my problem, I would like to upscale the slides to 40x along with the slide metadata. I tried it by the combination of the <code>openslide, NumPy, cv2, and vips</code> command. For a smaller size of slides, I can achieve this but for larger size slides I can't. Is there a straightforward way available to achieve this?</p>
  <p>I followed following steps</p>
  <ol>
  <li>open slide and NumPy to read the slide.</li>
  <li>cv2 to create the png upscaled .png image.</li>
  <li>vips vips2tiff command to convert .png to .svs file.</li>
  </ol>