AutoShapes in presentation are cropped when are exported to SVG (Java)

Hi!

I detected that some auto shapes are not properly written as SVG. The problem is that the resulting images are cropped in one side.

I used:

  • O.S: Ubuntu 20.04.1 LTS
  • Java: openjdk 11.0.9.1
  • Source PPT: autoshapes.zip (65.2 KB)
  • Resulting SVGs: shapes.zip (98.5 KB)
  • Sample code:

IPresentation ppt = new com.aspose.slides.Presentation("/home/users/Downloads/cropcircle.pptx");

/**
Code to license
**/

for (IShape shape : ppt.getSlides().get_Item(0).getShapes()) {
SVGOptions opts = new SVGOptions();
opts.setPicturesCompression(0);
shape.writeAsSvg(new FileOutputStream(new File("/home/user/folder/image.svg")), opts);
}

@rsalado,
Thank you for the issue description. I have reproduced the problem and got the same results. I have logged the issue in our tracking system with ID SLIDESJAVA-38451. Our development team will investigate it. You will be notified when it is fixed.

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