Free Support Forum - aspose.com

Blank slides after conversion

Hi,
we are converting PPT to images using .Net.

System.Drawing.Bitmap bitmap =
(System.Drawing.Bitmap)slide.GetThumbnail(scaleX, scaleY);

Stream outputStream = output.getOutputStream(slideID + “.png”);
bitmap.Save(outputStream, System.Drawing.Imaging.ImageFormat.Png);
outputStream.Close();


The attached PPT results in blank slides - only the background is present but none of the text is shown in the resulting image. Please could you advise.

Stefan

Hi Stefan,

There is some overloapping of placeholders in the slides provided by you. I have modified the presentation and modified presentation is attached. It will be rendered correctly.

thank you.

While this fixes the issues wit this particular file it is not an option for us to manually edit the files since our users upload them for conversion. Is it ossible to programmatically workaround this issue or detect the problem?

Regards,

Stefan




Hi Stefan,

A common workaround to determine whether a slide can be rendered correctly or not is that an exception is thrown whenever you try to write the presentation or clone such a slide through Aspose.Slides component.