For PPTX with an inserted image where width and height of 0. In the PPTX you do no longer see it. After ingestion into our DAM we create a so-called review file from it converting it to a PDF using Aspose.slides version 22.2.0.
the code that is executed is like this:
using (Presentation presentation = new Presentation(presentationPath))
{
string pdfPath = Path.Combine(App.GetTemporaryFolder(TemporaryScope.Shared), Path.GetFileName(presentationPath));
pdfPath = Path.ChangeExtension(pdfPath, ".pdf");
presentation.Save(pdfPath, SaveFormat.Pdf);
}
I can upload the PPTX if that is only visible to you?
Thanks!