Thanks for all the great work that you do , helping us with all the problems in different Aspose Library.
I’m trying to generate a simple png file of a vsdx page but the result png file is not correct.
the vsdx file and the resulted PNG file are in the attached file.
below is the simple code that I used to generate this problem :
License license = new License();
[//license.setLicense](https://license.setlicense/)(“C://Users//ark//Desktop//Visio Import//Aspose.Total.Java.lic.resj”);
license.setLicense(Licenses.class.getResourceAsStream("/Aspose.Total.Java.lic.resj"));
// The path to the documents directory.
String dataDir = “C://Users//ark//Desktop//Visio Import//Diagrams//”;
// Call the diagram constructor to load diagram
Diagram vdxDiagram = new Diagram(dataDir + “testVsdxCHD.vsdx”);
ImageSaveOptions imgOpts = null;
imgOpts = new ImageSaveOptions(SaveFileFormat.PNG);
imgOpts.setPageIndex(0);
vdxDiagram.save(dataDir + “testVDX.png”, imgOpts);