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

Free Support Forum - aspose.com

Converting pdf to ppt with SeparateImages loses transparency

When converting attached file to powerpoint with SeparateImages=true options, individual images are rendered on white background when they should be transparent. When saved with SeparateImages=false, images are baked into one and look correctly.

On attached screenshot those words are rendered as images (I think that’s how that pdf is built).

var pdf = new Document(pdfFilePath))
var options = new PptxSaveOptions();
options.SlidesAsImages = false;
options.TryMergeAdjacentSameBackgroundImages = true;
options.SeparateImages = true;
pdf.Save(pptFilePath, options);

pdf.zip (5.6 MB)

image.jpg (103.5 KB)

@ezolenko

We have tested the scenario using Aspose.PDF for .NET 19.3 and were able to replicate the issue in our environment. Hence, we have logged it as PDFNET-46243 in our issue tracking system for the sake of detailed investigation. We will further check the issue in details and keep you posted with the status of its rectification. Please be patient and spare us little time.

We are sorry for the inconvenience.