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

Free Support Forum - aspose.com

Adding SVG image to Slide results in wrong image (Java)

Hi,

we are adding a svg file to a slide. The resulting image is just junk - it’s not at all. We tried with Aspose.Slides native api by creating a new instance of “SvgImage” and also tried with Aspose.Imaging by converting the svg file to a png file before adding it to the slide. Both versions results are bad.

I attached

  • the svg file
  • the resulting ppts
  • a eclipse maven project with the code
  • a runnable example of the maven project. It creates a “result.pptx” in the Desktop folder of the current user (nope, not this one because it’s too big to upload)

aspose case.zip (410.9 KB)

@fbu.

Thank you for sharing the issue with us. I have been able to reproduce the issue and an issue with ID SLIDESJAVA-38065 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 notified once the issue will be fixed.

The issues you have found earlier (filed as SLIDESJAVA-38065) have been fixed in this update.

A post was split to a new topic: Failed to Add an SVG Image to PowerPoint Presentation