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

Free Support Forum - aspose.app

Font drift when converting ppt to pictures

222.jpg (153.1 KB)
I follow the demo:
foreach (ISlide sld in pres.Slides)
{
string filePath = Path.Combine(fileDirect, “Image” + FormatIntToLengthFour(i) + “.jpg”);
float ScaleX = (float)(1.0 / pres.SlideSize.Size.Width) * imageWidth;
float ScaleY = (float)(1.0 / pres.SlideSize.Size.Height) * imageHeight;

                    Bitmap bmp = sld.GetThumbnail(ScaleX, ScaleY);
                    bmp.Save(filePath, System.Drawing.Imaging.ImageFormat.Jpeg);

}
it doesn’t work well.111.jpg (147.9 KB)

It runs in Linux system.

This topic has been moved to the related forum: https://forum.aspose.com/t/font-drift-when-converting-ppt-to-pictures/246847