About base64 image in the result of saving a PowerPoint file into SVG format

Hi there

I am using Aspose Slides for JAVA to convert PowerPoint file into SVG format.
Here is my code for test:

String fileName = “issue.pptx”;

Presentation pre = new Presentation(“custom/input/pptx/”+fileName);
String dirName = fileName;
File file = new File(“custom/output/pptx/” + dirName);
file.mkdirs();

SVGOptions ops = new SVGOptions();

for (int i = 0; i < pre.getSlides().size(); i++) {
ISlide slide = pre.getSlides().get_Item(i);
slide.writeAsSvg(new FileOutputStream(“custom/output/pptx/” + dirName + “/” + (i + 1) + “.svg”));

}

Take the file I uploaded in the attachment as example with 2 question.

1.With the slide file containing different type of image, in the result, they are eventually converted into PNG format. So that some of GIF images will lose animation in the result.
2.In the result, images becoming base64 strings, there should be file type in the beginning of these base64 strings, but it didn’t.

data:;base64,iVBORw0KGgoAAAANSUhEUg…

Craig
imageTypeTest_aspose.pptx.zip (496.7 KB)
result.zip (80.5 KB)

@craig.w.su,

I have worked with the presentation file shared by you and have been able to observe the issue. An issue with ID SLIDEJAVA-36435 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be automatically notified once the issue will be fixed.

We are sorry for your inconvenience,

Adnan Ahmad

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