Hi
I am using Aspose Slides 17.8 to convert PowerPoint files into SVG format
Here is code I used for test:
String fileName = "1213.pptx";
Presentation pre = new Presentation(fileName);
String dirName = UUID.randomUUID().toString();
File file = new File("" + dirName);
file.mkdirs();
for (int i = 0; i < pre.getSlides().size(); i++) {
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
ISlide slide = pre.getSlides().get_Item(i);
slide.writeAsSvg(outputStream);
IOUtils.write(outputStream.toByteArray(), new FileOutputStream("" + dirName + "/" + (i + 1) + ".svg"));
}
Issue:
In the result from Windows environment, the diagrams can be rendered correctly.
However, they are not shown in the result from Linux environment
1213.pptx.zip (208.1 KB)
result.zip (221.8 KB)
I have uploaded the PowerPoint file and the result.
Please check the attachment and this issue, thank you
P.S. I suggest that It should be available to upload .pptx file directly on the forum.
Craig