When converting a PPTX document to a PDF, I noticed all the transparency properties on the image are lost.
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:
image.png (8.3 KB)
If I use the MS Office ‘Save as’ to pdf, the output looked file.
I’ve attached the test file and both Aspose output files for your reference. Could you please take a look?
test2.zip (139.9 KB)