Free Support Forum -

Slides not showing as it is using getthumbnail function

I am using slide.GetThumbnail method to get thumbnails of slides but it is not

working properly for pptx and not generating the same thumbnail as slide is, I require your help in tackling and resolving this issue, which has creeped up and now if user uploads ppt gets perfect slide thumbnail but if uses pptx the slide thumbnails are not sharper and with some color combination are looking very wierd Please look into this and reply me at the earliest.

This message was posted using Aspose.Live 2 Forum

Hi Daman,

Thanks for your interest in Aspose.Slides.

Can you please share the code snippet along with the presentation, where you are experiencing the problem. This will help me in investigating the matter.

We are extremely sorry for the inconvenience.

Below code i am using for creating Slide Thumbnail

SlidesEx _slideEx = objPresex.Slides[0];
System.Drawing.Image imgThumbnail = _slideext.GetThumbnail(1f,1f);
imgThumbnail.Save( @"d:\imag\1.jpg);
imgPreview = _slideext.GetThumbnail(1f, 1f);
imgPreview.Save( @"d:\imag\1.png);


Dear Daman,

Thanks for your interest in Aspose.Slides.

Please use the code snippet below to get the slide thumbnails.

//Reading the PPTX file

PresentationEx pres = new PresentationEx("D:\\ppt\\Test.pptx");

//Accessing first slide of presentation

SlideEx slide = pres.Slides[0];

//Obtaining thumbnail of the slide

System.Drawing.Image imgThumbnail = slide.GetThumbnail(1f,1f);

//Saving the thumbnail to Jpeg


System.Drawing.Image imgPreview = slide.GetThumbnail(1f, 1f);

//Saving the thumbnail to png


<span style=“font-size:10.0pt;font-family:“Arial”,“sans-serif”;mso-fareast-font-family:
“Times New Roman”;mso-fareast-theme-font:minor-fareast;mso-ansi-language:EN-US;
mso-fareast-language:EN-US;mso-bidi-language:AR-SA”>Thanks and Regards,

Thanks for your Support !

Using above code snippet Slides Thumbnails are created , but thumbnail quality is not good in both "jpg "and "png" and slides thumbnail are not sharper. How can I improve thumbnail quailty !


Hi Daman,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for considering Aspose.Slides.

I am sorry to inform you that issues related to thumb nail rendering and their quality are in the process of development. Once the feature is mature enough, we will inform you.

We are sorry for the inconvenience.