Hi.
I am using the latest Aspose.Slides version “22.10.0”.
As you can see from the attached file,
forum.zip (379.8 KB)
There is a difference between the appearance of the PowerPoint file and the thumbnail of the slide created with Aspose.
*The “ppt-thumbnail_diff.png” file is an easy-to-read comparison image.
On the first slide, it seems that the unit part of the graph cannot be judged, and the value is displayed as it is.
On the second slide, the three bars on the right side of the bar graph have what appear to be shadows for some reason.
The source code for thumbnail creation is pasted below, so please check it.
var pptPath = @"C:\forum\file01.pptx";
var thumPath = @"C:\forum\slide{0}.png";
var pres = new Presentation(pptPath);
var width = pres.SlideSize.Size.Width;
var height = pres.SlideSize.Size.Height;
foreach (var slide in pres.Slides)
{
using (var image = slide.GetThumbnail(new Size((int)width, (int)height)).Clone() as System.Drawing.Image)
{
image.Save(string.Format(thumPath, slide.SlideNumber), System.Drawing.Imaging.ImageFormat.Png);
}
}