Convert VSD/VSDX to SVG in Java using Aspose.Diagram - line color changes in output

Hi


I use Aspose Diagram 17.4 to save a Visio file into SVG format.
In the result, the colors of some lines changes, and some disappear. This is different with the origin.
Please check this issue and the attachment.

P.S. here is my code

public void asposeConvert() throws Exception {
String fileName = “Rack.vsd”;

Diagram d = new Diagram(“input/” + fileName);
SVGSaveOptions saveOp = new SVGSaveOptions();

File outputDir = new File(“output/” + fileName + “/”);
if (!outputDir.exists())
outputDir.mkdir();

for (int i = 0; i < d.getPages().getCount(); i++) {

System.out.println(d.getPages().get(i).getName());
saveOp.setPageIndex(i);
d.save(new FileOutputStream(“output/” + fileName + “/” + (i + 1) + “.svg”), saveOp);
}
}

Hi,


Thank you for contacting support. We managed to replicate the said issue in our environment. It has been logged under the ticket ID DIAGRAMJAVA-50504 in our bug tracking system. We have linked your post this ticket and will keep you informed regarding any available updates. We are sorry for the inconvenience caused.

The issues you have found earlier (filed as DIAGRAMJAVA-50504) have been fixed in Aspose.Diagram for Java 20.2.