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

Free Support Forum - aspose.com

Ppt Formula is clipped by Shape Frame when converting to PNG or SVG

Hi, when we convert the attached Slide to PNG or SVG, the Math-Formula is clipped to the Shape Size when using the Code below.
But this happens neither in the PPT Slide-Show, nor in the Print output, so I suspect the Aspose Behavior is wrong. Please advise us how to avoid this clipping without having to change the Shape Size, as this is obviously not needed in PPT:
public static byte[] PptxAsPng(byte[] data, ITrace trace)
{
using (var inStream = new MemoryStream(data))
{
var presentation = new Presentation(inStream, new Aspose.Slides.LoadOptions(Aspose.Slides.LoadFormat.Pptx));
if (presentation.Slides.Count <= 0) return null;
using (var outStream = new MemoryStream())
{
ITiffOptions options = new TiffOptions();
var thumbnail = presentation.Slides[0].GetThumbnail(options);
thumbnail.Save(outStream, ImageFormat.Png);
outStream.Flush();
return outStream.ToArray();
}
}
}

Hi,

I have worked with the presentation file shared by you and have been able to observe the issue. An issue with ID SLIDESNET-38492 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be automatically notified once the issue will be fixed.

We are sorry for your inconvenience,