Option to Bypass Thumbnail Generation on Saving a Presentation in C#

Hello,

Our application experiences a performance bottleneck in the Presentation.Save method. While profiling the app we noticed that a significant amount of time is spent in a method called Slide.GetThumbnail.

We would like to know if there is an option to bypass thumbnail generation to optimize the save time. Currently, we could not find a SaveOption that allows us to disable this feature (Aspose.Slides 24.9.0)

You can observe this issue by running the following code snippet:

var p = new Presentation("./lorem.pptx"); // can be any presentation
p.Save("./lorem2.pptx", SaveFormat.Pptx);

Profiling the above program in dotTrace showed that ~38% of the time is spent generating the thumbnail.

image.png (128.7 KB)

Thank you for considering this request.

Best regards,
Draftable Team

@draftable,
Thank you for contacting free support. I am working on the issue and will get back to you soon.

@draftable,
Could you please specify which performance profiler you used?

Hi Andrey,

I was using the latest version of dotTrace

@draftable,
Thank you for the additional information.

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-44713

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.