Export segmentation (or label maps) outlines as vector paths (svgs)

Operating system: OS X

Slicer version: 4.11.0

I building a website in which I render segmentations I generated in 3D slicer, and want to manipulate them with html/css (for eg. change the color of a specific segment).
Is there any export format in 3D slicer that would allow me to convert segmentations (or label maps) into vector paths that I can save in an svg file? Or any other structured data format that specifies the points (x,y) that make up the outline for an individual segment?

2 posts were merged into an existing topic: Export annotations as vector paths / svgs