We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

PPTX to jpg file conversion

image files converted from pptx have spaces between text and some distortion

Code I am using :

using (Presentation pres = new Presentation(file.InputStream))


for (int i = 0; i

//Access the first slide

ISlide sld = pres.Slides[i];

//User defined dimension

int desiredX = 1920;

int desiredY = 1440;

//Getting scaled value of X and Y

float ScaleX = (float)(1.0 / pres.SlideSize.Size.Width) * desiredX;

float ScaleY = (float)(1.0 / pres.SlideSize.Size.Height) * desiredY;

//Create a full scale image

Bitmap bigImage = sld.GetThumbnail(ScaleX, ScaleY);

string outputFileName = string.Format(targetFile, maxSlideIndex + i + 1);


//Save the image to disk in PNG format

bigImage.Save(outputFileName, ImageFormat.Png);



I have added Error-1.jpg and Error-2.jpg if you see these images then, Error-1.jpg has spaces in between its text and Error-2.jpg has text at left corner of diagonal box instead of center.

Splash Bar Detailer Marathi.pptx is the original pptx file

I also have converted this pptx on http://www.zamzar.com/ and images are perfectly fine

please help, what i am missing

Hi Shoaib,

I have worked with the presentation file using Aspose.Slides for .NET 16.11.0 and have been able to reproduce the issue. A ticket with ID SLIDESNET-38193 has been created in our issue tracking system to investigate and resolve the issue. This thread has been associated with the ticket so that we may share the notification with you once issue will be fixed.

We are sorry for your inconvenience,

ok, Please notify me as soon as you fixed this issue.

Hi Shoaib,

Sure, We will share notification with you once issue will be fixed.

Best Regards,

Is this issue resolved, any update ?

Hi Shoaib,

I have observed your comments. I like to inform that product investigated issue on windows 7 environment and unable to observe the issue. However this issue will be investigated in next week on window 10 for further investigation. We will further update you soon regarding this issue. I request for your patience until further feedback is shared.

Best Regards,