Free Support Forum - aspose.com

Aspose Words strips out images when saving docx

Hi,

I'm using the latest versions of Aspose.Words(4.4.3) and Aspose.Pdf (3.6.1) for .Net in order to convert an existing docx file to doc and pdf. Here is the code:

Document docx = new Document("test.docx");
docx.Save("testresult.doc", SaveFormat.Doc);
docx.Save("testresult.xml", SaveFormat.AsposePdf);
Pdf pdf = new Pdf();
pdf.BindXML("testresult.xml", null);
pdf.Save("testresult.pdf");

As a result of this bit neither doc nor pdf contain images that were in the original docx.

Is this a known bug?

In terms of DOCX importfuncitonality - I understand it's in Beta right now. Any indication as to when it will be production?

Thanks in advance

Hi

Thanks for your inquiry. Yes, this is known issue. It is already solved in current codebase. I think that the production release of DOCX will be available within few days.

Best regards.