Hi
Opening and saving a valid file causes broken/corrupted PPTX output.
And “Windows Media Player” objects are not detected as VideoShape, can this be possible ?
Here is object acess:
image.png (20.4 KB)
Here is PPTX:
here is code:
var ppt_path = "path_to_ppt";
var ppt_out_path = "path_to_ppt_out";
Aspose.Slides.LoadOptions _loadOptions = new Aspose.Slides.LoadOptions()
{
BlobManagementOptions = new BlobManagementOptions
{
PresentationLockingBehavior = PresentationLockingBehavior.KeepLocked,
IsTemporaryFilesAllowed = true,
MaxBlobsBytesInMemory = 100 * 1024 * 1024
}
};
using (var stream = new FileStream(ppt_path, FileMode.Open))
{
Aspose.Slides.Presentation pres = null;
try
{
pres = new Aspose.Slides.Presentation(stream, _loadOptions);
Aspose.Slides.Export.SaveFormat ppt_file_aspose_format = GetPresFormat(ppt_path);
pres.Save(ppt_out_path, ppt_file_aspose_format);
Console.WriteLine("ok");
}
catch (Exception ex)
{
Console.WriteLine("ko");
}
}
win10/.net 4.7/Aspose 23.1
Thank you