Aspose.Slides for .NET Crashes on Linux when Using ReplaceImage Method in C#

Hi Aspose,
I have a problem with ppt file. Aspose slides crash on Linux when I using ReplaceImage() to replace the image in presentation. This is the Sample.zip (1.2 MB)

Below is my code:

var inputPptFile = @"/home/test/testFolder/sample.ppt";
var outputPptFile = @"/home/test/testFolder/output.ppt";
var imagePath = @"/home/test/testFolder/sanitized_image/image.png";
using (var inputStream = new FileStream(inputPptFile, FileMode.Open,
                                        FileAccess.Read, FileShare.ReadWrite))
{
    var presentation = new Presentation(inputStream);
    var imageData = File.ReadAllBytes(imagePath);
    Console.WriteLine("Replacing image");
    presentation.Images[7].ReplaceImage(imageData);
    Console.WriteLine("Done: Replacing image");
    presentation.Save(outputPptFile, Aspose.Slides.Export.SaveFormat.Ppt);
}
Console.WriteLine("Done");

I’am using CentOS07, libgdiplus 6.0.5 and Aspose.Slides.Net 22.7
Please help me check and fix it.
Thansk !

@dunghnguyen,
Thank you for reporting the issue.

I received the error “segmentation fault (core dumped)” using your sample code and PPT file and added a ticket with ID SLIDESNET-43406 to our issue tracking system. We apologize for any inconvenience. Our development team will investigate the case. You will be notified when the issue is resolved.

Hi @andrey.potapov,
Do you have any update on this?

@dunghnguyen,
As far as I can see, the issue is still open. Unfortunately, I don’t have any additional information yet.