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

Free Support Forum - aspose.com

One specific image on a presentation is not rendered at all


Hello,

I am evaluating Aspose.Slides features could not convert one specific slide picture to images using this code:

var documentOptions = new Aspose.Slides.LoadOptions
{
LoadFormat = Aspose.Slides.LoadFormat.Pptx
};

var document = new Aspose.Slides.Presentation(fileName, documentOptions);

for (int slideIndex = 0; slideIndex < document.Slides.Count; slideIndex++)
{
var image = document.Slides[slideIndex].GetThumbnail(new Size(960, 720));
var outputFileName = string.Format("{0}" + Path.DirectorySeparatorChar + aspose-{1}-{2}.{3}, OUTPUT_FILES_PATH, Path.GetFileName(fileName), SlideIndex, “png”);
image.Save(outputFileName, ImageFormat.Png);

outputFileName = ConverterUtil.GetOutputImageFileName(fileName, slideIndex, svg);
using (var fileStream = new FileStream(outputFileName, FileMode.OpenOrCreate, FileAccess.Write))
{
document.Slides[slideIndex].WriteAsSvg(fileStream);
}
}

The slide that does not render was the 5th slide about concurrency (which were supposed to have an elephant picture).


It was rendered on the latest version update. Sorry.

It does not apply anymore.

Hi Alexandre,


We are glad to know that your issue is resolved and things have started working on your end.

Please feel free to contact us if we could be of any help to you.

Best Regards,