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

Free Support Forum - aspose.com

Aspose Slides HTML EMF Images Missing (Windows Environment)

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)



I have observed the issue shared by you. An issue with ID SLIDESNET-41681 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 notified once the issue will be fixed.

The issues you have found earlier (filed as SLIDESNET-41681) have been fixed in this update.