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.
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.
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
imgThumbnail.Save(@"d:\ppt\1.jpg");
System.Drawing.Image imgPreview = slide.GetThumbnail(1f, 1f);
//Saving the thumbnail to png
imgPreview.Save(@"d:\ppt\1.png");
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 !
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.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.