is it possible to create SVS files at all?

693 views Asked by At

I read a lot of resources saying that creating svs files is impossible. Is there any way to tweak the tif file contents in such a way that it can be saved as a SVS file by any chance. I was able to create a Aperio Tif slide using this tutorial. Can anyone please help me in creating a SVS file or any tips ? I am also open to manual suggestions where I have to tweak the file properties manually. Thank you!

Trying to create SVS Files

1

There are 1 answers

2
Cris Luengo On

You can create an SVS file, but it's not easy. Aperio's SVS file is really a TIFF file. But it applies some parts of the TIFF standard wrong, so it's a TIFF file with errors.

LibTIFF will not output a file identical to an SVS. It simply refuses to do things wrong. So if you want to write an SVS file, you'd have to either write a correct TIFF file and then tweak some of the tags after the fact, or write the incorrect TIFF file manually (i.e. figure out which bytes to output in which order, following the SVS specification). Neither of these is easy to accomplish, and you should be well versed in the TIFF standard and binary file manipulation before you attempt this.

On the other hand, unless you are trying to fool someone with a fake SVS file, you really shouldn't need to do this. Most software tools that read SVS files also read compliant TIFF files. I would suggest writing your image out as a tiled, pyramidal TIFF file and seeing if that works in your application.