Converting png / jpg images to svs / tif image format

1.9k views Asked by At

How can I convert png or jpg image files to svs or tif Aperio image formats? It can be in python, c++, c# or java. Is there any library that support tif or svs format?

1

There are 1 answers

1
Francisco Cunha On

I think that this conversion is impossible since SVS constitutes a proprietary format. Openslide implements the logic to read SVS streams, but the same is not true for writing them as the specification is not open-source. A possible workaround can be found in this blog post which explains how to write an image with the minimum set of attributes that the Openslide reader method expects to sucessfully execute.