Hi there
I am using Aspose Diagram 17.5.0 for JAVA to convert Visio files to SVG files.
Here is my code for test:
String fileName = “pusheen3.vsd”;
Diagram d = new Diagram(“custom/input/visio/” + fileName);
SVGSaveOptions saveOp = new SVGSaveOptions();
File dir = new File(“custom/output/visio/” + fileName + “/”);
dir.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);
}
I have uploaded a Visio file and the result in the attachment.
In the result, rendering of background of diagram is different from the origin Visio file.
Is there some options to fix this?
Please check this issue, thank you~
Craig
conparison.JPG (127.0 KB)
result.zip (1.2 MB)
pusheen3.vsd.zip (744.2 KB)