Free Support Forum - aspose.com

Word to html conversion issue for image

Hi,



I am converting a word document to html which has some image in it, after the conversion the image is separately saved and html has the link for it.



Is there any way where we can directly embed the image in HTML ?



Regards,

Divesh Salian



Hi Divesh,


Thanks for your inquiry. Sure, you can use HtmlSaveOptions.ExportImagesAsBase64 property to specify whether images are saved in Base64 format to HTML. When this property is set to true image data is exported directly on the img elements and separate files are not created:
http://www.aspose.com/docs/display/wordsnet/ExportImagesAsBase64+Property

Please let us know if this solves your problem.

Best regards,