Data missing and symbols overlap with text in PNG output of Visio Page

Hello,

I am using aspose.diagram v6.7.0 to generate PNG of page - 'Page-1' of the attached visio file. In the PNG output, symbol overlaps with text entered in calendar and some data is missing from the output.

Following code is used to generate the PNG output:

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

int pageIndex = 0;
ImageSaveOptions options = new ImageSaveOptions(imageFormat);
options.setResolution(96);
for (Page page : (Iterable) diagram.getPages()) {
if (page.getID() == srcPage.getID()) {
options.setPageIndex(pageIndex);
options.setPageCount(1);
break;
}
pageIndex++;
}
diagram.save(outputFile.getAbsolutePath(), options);


Can you please analyse this issue.

Thanks,
Neha

Hi Neha,


Thank you for contacting support. We managed to replicate the problem of missing text item and symbol overlap. It has been logged under ticket ID DIAGRAMJAVA-50380 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 Neha,


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

Hi Neha,


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

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


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

Hello,


Thanks for your reply.

I verified this issue with aspose.diagram 17.1.0. The issue of missing data and symbol overlapping with text has been fixed.

But in PNG output, the symbol is not coming properly. It should appear the same as that in actual visio page.

I have attached the png output and a screenshot of the issue for your reference.

Can you please analyse this?

Thanks,
Neha

Hi Neha,


Thank you for sharing your feedback, and it is good to know that the previously reported problems have been resolved with recent update to the library.

Regarding your recently shared scenario, we have managed to replicate the said issue on our side. In order to further investigate the matter, we have raised this incident as DIAGRAMJAVA-50464 in our bug tracking system. Please spare us little time to properly analyze the case, and revert back with updates in this regard.

The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan

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