Hi Aspose,
When generating the HTML for a powerpoint document in a Windows environment, the EMF images are missing in the generated HTML. However, In a Linux environment they’re rendered correctly. Please see code used below and files attached.
Presentation pptx = new Presentation("path/to/pptx/file");
foreach (Slide slide in pptx.Slides)
{
slide.SlideShowTransition.AdvanceOnClick = false;
}
HtmlOptions htmlOpt = new HtmlOptions
{
HtmlFormatter = HtmlFormatter.CreateDocumentFormatter("", false),
ShowHiddenSlides = true,
SvgResponsiveLayout = true,
PicturesCompression = Aspose.Slides.Export.PicturesCompression.Dpi72
};
pptx.Save("path/to/output/html", SaveFormat.Html, htmlOpt);
EMF_Bug.zip (62.8 KB)
Thanks