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

Free Support Forum - aspose.com

ODP to PPTX: Picture borders disappear and picture positioning is mangled (Java)

We are using “slides-19.10-jdk16.jar”.

The attached ODP file has three images that have borders and a title on the slide. When its converted to PPTX the borders are lost and the positioning of the images are changed.

Using the following code:
com.aspose.slides.Presentation presentation = new com.aspose.slides.Presentation(inputPath);
presentation.save(outputPath, com.aspose.slides.SaveFormat.Pptx);

Borders.zip (481.7 KB)

Also when the “Borders.odp” is converted to “Borders.pptx” the following error is shown:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.aspose.slides.ms.core.System.Drawing.imagecodecs.jpeg.oracle.OracleJpegImageReader (file:/C:/Users/user/Desktop/AsposeTesting/out/artifacts/AsposeTesting_jar/lib/aspose-slides-19.10-jdk16.jar) to field com.sun.imageio.plugins.jpeg.JPEGImageReader.colorSpaceCode
WARNING: Please consider reporting this to the maintainers of com.aspose.slides.ms.core.System.Drawing.imagecodecs.jpeg.oracle.OracleJpegImageReader
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

@simon.wiseman,

I have worked with the presentation file shared. An issue with ID SLIDESJAVA-37856 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-37856) have been fixed in this update.