Hi,
I’m using Aspose.Words (17.1.0.0) within a .NET WPF projects. One of the core functionality is the conversion from the Microsoft docx/doc format to the html format. Sometimes the conversion routine failes and blank png-image files are generated by Aspose.Words (see the attachment BlankPngImages.png). Today the problem occurred again and therefore I’ll really appreciate your support to solve this issue. Please find the problem document attached on this post. Thank you in advance for your feedback.
// c# Conversion-Code
FileStream fileStream = new System.IO.FileStream(this.MessageFilePath, FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
Aspose.Words.Document doc = new Document(fileStream);
HtmlSaveOptions htmlSaveOptions = new HtmlSaveOptions(SaveFormat.Html);
this.htmlMessageFilePath = prcomTmpMessageWorkDir + Path.DirectorySeparatorChar + messageFileNameWithoutExt + “.html”;
doc.Save(this.htmlMessageFilePath, htmlSaveOptions);