Hi
After I clone the PPTX file, attached to this thread, slide number 6 is missing a appears as an empty slide.
I don't get any error messages and the process seems to be successful.
IPresentation pptxDoc = Presentation.Open(new FileStream("file path", FileMode.Open)).Clone();
var outputStream = new FileStream("output file path", FileMode.OpenOrCreate);
pptxDoc.Save(outputStream);
outputStream.Position = 0;
outputStream.Flush();
pptxDoc.Close();
return outputStream;