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);