Charts in EMF Images Get Truncated when Converting Presentation to PDF in Java

Hello,
When opening the .pptx containing an EMF-Image with Aspose.Slides and saving to PDF - all the charts get truncated.
Note, that opening the .pptx and simply saving via “File” -> “Save As” -> “PDF (*.pdf)” produced proper PDF output.

Here is the sample code:

IPresentation presentation = new Presentation("PptToPdf.pptx");
PdfOptions pdfOptions = new PdfOptions();
pdfOptions.setBestImagesCompressionRatio(true);
pdfOptions.setJpegQuality((byte)95);
presentation.Save("PptToPdf.pdf", SaveFormat.Pdf, pdfOptions);

Attached is the zip file, which contains:

PptToPdf.pptx (PowerPoint with an EMF-Images displayed correctly)
PptToPdf.pdf (Pdf Output with the Images not displayed correctly)
PptToPdfSaveAsFromPPT.pdf (Pdf Output from PPTX “Save As” ->“PDF” )
We are using the following version: Aspose.Slides for Java 22.3

Could you please help with this?

Thank you very much.pptToPdf.zip (139.5 KB)

@oraspose,
Thank you for reporting on the issue.

I reproduced the problem you described.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): SLIDESJAVA-39154

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

Please also share the following additional information if it is possible:

  • OS version on which the code was executed
  • JDK version in your app

This happens on both Linux 7 and Windows 10 OS. Here are more details:
Oracle Linux Server release 7.4 4.1.12-124.59.1.2.el7uek.x86_64
java full version “1.8.0_351-b10”

Windows 10 Pro 19044.2604
java full version “1.8.0_351-b10”

Thank you.

@oraspose,
Thank you for the additional information. I forwarded it to our developers.

Hello.
Any update on this issue?

Thank you.

@oraspose,
The issue is still open. Unfortunately, I don’t have any additional information yet. We apologize for any inconvenience caused.