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

Free Support Forum - aspose.com

Saving PPTX Using Aspose.Slides for .NET Causes Corrupted File


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;
        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);
    catch (Exception ex)

win10/.net 4.7/Aspose 23.1

Thank you

Thank you for contacting support. I am working on the issue and will get back to you as soon as possible.

Big thanks ! Looking forward.

I reproduced the corrupted file while saving the presentation.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): SLIDESNET-43828

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

The attached presentation does not contain video frames and presentation resources do not contain videos.

Here is the file and the object in cause:

Thank you for the sample presentation file. I’ve attached it to the issue ticket.