Free Support Forum - aspose.com

Slide exported as image is different than content present in slide

Hi Team,

Aspose Version: 20.1
Language: C#

Issue: Using the below code we are converting the slide into an image, but the exported image has different content present inside it as compared to the slide.

Code:

var presentation = new Presentation(dataPath + “sample.pptx”);
for (int i = 0; i < presentation.Slides.Count; i++)
{
var thumbnail = presentation.Slides[i].GetThumbnail(1, 1);
var outPath = dataPath + “sample_slide_” + (i + 1) + “.png”;
thumbnail.Save(outPath, ImageFormat.Png);
}

Can you share your thoughts?

sample.zip (59.1 KB)

~ Praveen

@pradubey,
Thank you for the issue description. I reproduced the error and received an incorrect result as well. I’ve logged the issue in our tracking system with ID SLIDESNET-42567. Our development team will investigate this case. You will be notified when it is fixed.