Thumbnail image is trimmed while saving in jpeg format

While creating the Thumbnail images in jpeg format , image is getting trimmed.

Where the
desiredX=1150
desiredY= 864

float ScaleX= (float)(1.0/pre.slideSize.Size.Width)*desiredX
float ScaleY= (float)(1.0/pre.slideSize.Size.Width)*desired

Can you please help me the reason for this ASAP.

Hi Vanaja,


Thanks for inquiring Aspose.Slides.

I have observed the requirements shared by you and request you to please share the source presentation and generated output with us. I will be able to investigate the issue once the requested information will be shared. Please share the information so that I may proceed further with my investigation.

Many Thanks,

I am trying to add the content to the slides using placeholders.

On Post update the content, I am saving the image in jpeg format.



In the Original ppt, the left side image if full. Uisng aspose I am adding the content to the content and saving jpeg.

But in the ThumbanilImage.ppt the left side of the image is trimmed(Half cut).

Please help me the reason ASAP.

Hi Vanaja,


I have worked with the presentation file shared by you and have not been able to observe the issue specified. The generated thumbnail has no issue when generated using Aspose.Slides for .NET 15.10.0. Can you please try using the same version on your end to serve the purpose. Please share the working sample code with us if there is any issue incurring.

Many Thanks,