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

Free Support Forum - aspose.com

Issues when saving a vsdx file to PDF or PNG

please find attached the following VSDX file:
VisioTestVSDX.zip (100.5 KB)

When saving it as PDF You get the folowing result with black arrow shapes:
Output_ASPOSE.pdf (229.2 KB)
When saving as PNG you get also a wrong result (but another):
Output_ASPOSE.png (134.3 KB)
When exporting to PDF from VISIO everything is OK:
Output_Visio.pdf (117.9 KB)

We used the following code with latest version of Aspose.Diagram for .Net 17.6:
private static void Visio2Pdf()
Aspose.Diagram.Diagram dia = new Diagram(@“c:@@tmp\VisioTest.vsdx”);
dia.Save(@“c:@@tmp\Output_ASPOSE.pdf”, SaveFileFormat.PDF);
dia.Save(@“c:@@tmp\Output_ASPOSE.png”, SaveFileFormat.PNG);

Kind regards

We have managed to replicate the said issues in our environment. These have been logged these issues in our bug tracking system as below:

DIAGRAMNET-51280: VSDX to PDF - shapes are being rendered in black color
DIAGRAMNET-51281: VSDX to PNG - incorrect shade color in the shapes

We have linked your post to these tickets and will keep you informed regarding any available updates. We are sorry for the inconvenience caused.

Best Regards,
Imran Rafique