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

Free Support Forum - aspose.com

Image missing in PDF while converting Presentation to PDF

We are using aspose slides java 21.5 version to convert pptx documents to pdf in our java applications.
It is seen that one of the images in original pptx is missing in the pdf generated from Aspose

Below is the sample code used to convert ppt to pdf in our application=
com.aspose.slides.License pptLicense = new com.aspose.slides.License();
String inputPptPath = “C:\export\rschapps\rschdistengine\workarea-prod\30020750\ppt_to_pdf_input.pptx”;
String outputPdfPath = “C:\export\rschapps\rschdistengine\workarea-prod\30020750\ppt_to_pdf_output.pdf”;
com.aspose.slides.PdfOptions pptPdfSaveOpts = new com.aspose.slides.PdfOptions();
pptPdfSaveOpts.setJpegQuality((byte) 100);
Presentation ppt = new Presentation(new FileInputStream(inputPptPath));

Please find attached input ppt and output pdf for your reference:
ppt_to_pdf_conversion.zip (356.5 KB)

Thank you for the issue description. I reproduced the problem and logged the issue with ID SLIDESJAVA-38555 in our tracking system. Our development team will investigate this case. You will be notified when it is fixed.

Is there any update on the above ticket ?

The problem you described will be fixed in Aspose.Slides 21.8 that will be released in the second half of August.

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