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

Free Support Forum - aspose.com

Aspose word to html image can't display as in word

Hi, I used aspose word to convert word to html。but some issue troubled me, the some images can’t display correctly.
word
image.png (18.3 KB)
but html
image.png (5.7 KB)

can anybody help me
thanks in advance

@yc1,

Thanks for your inquiry. Please ZIP and attach your input Word document here for testing. We will investigate the issue on our side and provide you more information.

@tahir.manzoor
thanks a lot for your response.
here is my test docx file
test.zip (645.6 KB)
and the output just like
image.jpg (66.2 KB)

@yc1,

Thanks for sharing the detail. Please note that Aspose.Words mimics the behavior of MS Word. If you convert your document to HTML using MS Word, you will get the same output. We suggest you please save the document to HtmlFixed file format. Hope this helps you.

var doc = new Document(MyDir + "test.docx"); 
doc.Save(MyDir + "17.10.html", SaveFormat.HtmlFixed);