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

Free Support Forum - aspose.com

Blank PNG is generated if visio Page contains equations


I am using aspose.diagram v6.7.0 to generate PNG of pages of the attached visio file. If the pages contain equations, blank PNG output is generated

Following code is used to generate the PNG output:

Diagram diagram = new Diagram("Obj-equations.vsdx");
String pageName = "Page-1";
Page srcPage = diagram.getPages().getPage(pageName);
File outputFile = new File("Page-1.png");
int imageFormat = SaveFileFormat.PNG;

int pageIndex = 0;
ImageSaveOptions options = new ImageSaveOptions(imageFormat);
for (Page page : (Iterable) diagram.getPages()) {
if (page.getID() == srcPage.getID()) {
diagram.save(outputFile.getAbsolutePath(), options);

Can you please analyse this issue.

Hi Neha,

Thank you for contacting support. We managed to replicate the problem of blank Visio page. It has been logged under ticket id DIAGRAMJAVA-50365 in our bug tracking system. Your post has also been linked to this ticket. We'll keep you informed regarding any available updates.

Hi Neha,

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

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

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