Cloning Slides in C# Results in "No Image" for Some Bars/Charts in Presentation

I am using an Azure Function that is responsible for the extraction of an individual slide from an existing presentation.

The function uses Aspose.Slides.Net version 22.1.0.

In the function, we read the source presentation, create a target presentation, and using the clone method clones the required source slides to the target slides.

Code for cloning - trgslides.AddClone(srcSlide).
The resulting slide after cloning results into something like this without any exceptions or errors thrown.
WithIssue.png (9.7 KB)

Also, restarting the function app, helps in instantly resolving the issue, and everything works fine.

@g.gupta93,
Thank you for contacting support. There were many updates after version 22.1. Please test your results using the latest version of Aspose.Slides if it is possible. If the issue persists, please share the following data and information:

  • input and output presentation files
  • simple project that reproduces the problem
  • OS version where the code was executed