Free Support Forum -

Background color changes in the result of svg conversion

Hi Aspose team

We are working on SVG conversion of VSD files for cross-platform viewing
We got a problem that the background color in the conversion result is different from the original vsd file.

Here is our simple code for conversion test:

Diagram d = new Diagram(“custom/input/visio/d2.vsd”);
SVGSaveOptions saveOp = new SVGSaveOptions();

for (int i = 0; i < d.getPages().getCount(); i++) {
saveOp.setPageIndex(i); FileOutputStream(“custom/output/visio/d2.” + (i + 1)
+ “.svg”), saveOp);

I have uploaded a comparison image, the result, and the vsd file.
Please help us analyze this issue.
Thanks for your help.
Hi Craig,

Thank you for contacting support. We have tested your Visio diagram and code against the latest version 16.10.0 of Aspose.Diagram for Java API and managed to replicate the problem of missing background color. It has been logged under ticket ID DIAGRAMJAVA-50426 in our bug tracking system. Your post has also been linked to this ticket. We'll keep you informed regarding any available updates. We're sorry for the inconvenience caused.

Hi Craig,

Thank you for being patient. We have a good news for you that the ticket ID DIAGRAMJAVA-50426 has now been resolved. If there is no issue in the QA phase, then this fix will be included in the next version 16.11.0 of Aspose.Diagram for Java API. We’ll inform you via this forum thread as soon as the new release is published.

Hi Craig,

Thank you for being patient. In reference to the ticket ID DIAGRAMJAVA-50426, please download and use the latest Hotfix version: Aspose.Diagram for Java 16.10.1. Please also let us know how that goes on your side.

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

This message was posted using Notification2Forum from Downloads module by Aspose Notifier.