Diagram issue in the result of saving a vsd file into SVG format

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)

@craig.w.su,
We managed to replicate the problem of incorrect fill color pattern in the output SVGs. It has been logged under the ticket ID DIAGRAMJAVA-50510 in our bug tracking system. We have linked your post to this ticket and will keep you informed regarding any available updates.

Best Regards,
Imran Rafique

@craig.w.su,
Thank you for being patient. In reference to the ticket ID DIAGRAMJAVA-50510, please download and try the latest Hotfix version 17.6.1 of Aspose.Diagram for Java API (download link: Aspose.Diagram for Java 17.6.1) and let us know how that goes on your side.

Best Regards,
Imran Rafique

The issues you have found earlier (filed as DIAGRAMJAVA-50510) have been fixed in Aspose.Diagram for Java 17.7. This message was posted using BugNotificationTool from Downloads module by imran.rafique