We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Images will display error when converting to svg format

Hi Aspose team,

I am using Aspose Diagram 17.4.0 in the Linux environment to convert a Visio file to a SVG file.
But the results found that the picture will be more blue part.

Here is the code I'm using:

Diagram d = new Diagram(filePath);
SVGSaveOptions saveOp = new SVGSaveOptions();

String dirName = UUID.randomUUID().toString();
File file = new File( dirName+"/");

for (int i = 0; i < d.getPages().getCount(); i++) {
d.save(new FileOutputStream(dirName + "/" + (i + 1) + ".svg"), saveOp);

And I also uploaded the origin Visio file and the image of the result.
Please help me figure it out what happend, thanks.

Hi Lai,

Thank you for contacting support. We managed to replicate the problem of blue color in background of icons and buttons. It has been logged under the ticket ID DIAGRAMJAVA-50489 in our bug tracking system. We have linked your post to this ticket and will keep you informed regarding any available updates. We are sorry for the inconvenience caused.