Free Support Forum - aspose.com

GetThumbnail method hangs up for a particular slide (C# .NET)

We have been using GetThumbnail with thousands of files with no problem. However last couple of weeks we got two Powerpoint files that hang up when calling this method for a particular slide.

For one of the files, I have managed to get to the slide that causes the problem and remove all the text and graphics that don’t seem to be the cause of the issue. Attached is the file. It seems to be a bug on Aspose. Could you please take a look and try it?

This is the code that we are using:

Aspose.Slides.Presentation oPres = new Aspose.Slides.Presentation(filename);
Bitmap bmp = oPres.Slides[0].GetThumbnail(new Size(320, 240));

We are using Aspose v20.1.0 for C# .NET

Thanks.

[USN.zip (25.0 KB)]

@espinosaluis,

I have worked with sample code and presentation file shared and have been able to observe the issue. An issue with ID SLIDESNET-41755 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

Thanks a lot. I appreciate that.

@espinosaluis,

You are welcome. We will share update with you as soon as issue will be fixed.