When converting a PPTX document to a PDF, I noticed all the transparency properties on the image are lost.
Code:
var ppt = new Presentation(@".\test2.pptx");
var saveOption = new PdfOptions();
ppt.Save(@".\test2.pdf", SaveFormat.Pdf, saveOption);
In the output (see the screenshot below), the background of the image became white in the pdf: image.png (54.9 KB)
I also tried setting SaveMetafilesAsPng to false, code:
var ppt = new Presentation(@".\test2.pptx");
var saveOption = new PdfOptions();
saveOption.SaveMetafilesAsPng = false;
ppt.Save(@".\test2SaveMetafilesAsPng.pdf", SaveFormat.Pdf, saveOption);
The background became transparent, but all text was missing:
I have worked with the presentation file shared by you and have observed the issue specified. An issue with ID SLIDESNET-40767 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 automatically notified once the issue will be fixed.
I cannot access the your attached 23.pdf file, but I’ve attached my test files again and a comparison screenshot from my Aspose output and Office ‘Save as’ output:
I have worked with sample code you quoted and have been able to observe issue. We have reopened this issue to further investigate. I request for your patience.