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

Free Support Forum - aspose.com

Inserthtml with embedded base64 image src

I have html data in a database which has img tags using embedded base64 source data format is PNG. Basically I need to know if PNG format is supported in this way? As when I save the document as a DOC file the embedded images from these html fragments is showing up as a broken image icon and not the image. I would like to state that I am using the basic save command as below with no save options.

m_Doc.save(sFile, Aspose.Words.SaveFormat.Docx)

I have found precious little on the subject; and you have no ‘How to…’ like help to identify this sort of issue. As I have no doubt this has been asked and solved in the past.


You can insert base64 image into document using Aspose.Words. Could you please ZIP and attach your input Word document along with HTML that you are inserting into document for testing? We will investigate the issue on our side and provide you more information.