Hi
I am using Aspose Diagram 17.7.0 to convert Visio files into SVG format.
Here is my code for test:
String fileName = “WinUI.vsd”;
Diagram d = new Diagram("custom/input/visio/" + fileName);
SVGSaveOptions saveOp = new SVGSaveOptions();
new File("custom/output/visio/" + fileName + "/").mkdirs();
for (int i = 0; i < d.getPages().getCount(); i++) {
System.out.println(d.getPages().get(i).getName());
saveOp.setPageIndex(i);
d.save(new FileOutputStream("custom/output/visio/" + fileName + "/" + (i + 1) + ".svg"), saveOp);
}
The icons are missing in the result on a Visio file.(page#3)
I have uploaded this Visio file, the result, and comparison image.
Please check the attachment and this issue, thank you~
WinUI.vsd.zip (450.5 KB)
result.zip (245.2 KB)
comparison.JPG (57.3 KB)
Craig