Free Support Forum - aspose.com

Image not being created

I'm creating thumbnails from Office documents and I receive some errors on some of them. I've attached a ppt file that isn't working for me.

The code I use to create the thumbnails is here:

public Image CreateThumbnail(byte[] file, int slideNumber, double scaleFactor)

{

Presentation presentation = new Presentation(new MemoryStream(file));

return presentation.Slides[slideNumber].GetThumbnail(scaleFactor, scaleFactor);

}

Hi Steven,

I have worked with the presentation file shared by you and I have successfully been able to generate the slide thumbnail with no error. I am using latest version of Aspose.Slides for .NET, which is available here. Can you please verify on the mentioned product version.

Thanks and Regards,