Hi!
I detected that some crop-circle images are not properly written as SVG. The problem is that the resulting circle is flattened in one side.
I used:
-
O.S: Ubuntu 18.04.2 LTS
-
Java: openjdk version “1.8.0_191”
-
Source PPT: cropcircle.zip (289.4 KB)
-
Resulting SVG: image.zip (468.4 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);
}