Image not rendering in conversion from WordML to PDF

I am using Aspose.words vs 15.11.0-java. We are trying to convert wordML documents to PDF

Now in our source documents there are images in header but when converted to PDF these images are not coming.
We have found the reason for this behavior and this can be replicated in any wordML document.
Our is surrounded by a

tag and is outside of this paragraph so basically this is the structure

So if i remove these additional

tags conversion works fine.

……
But issue is that I can not remove them as they are provided by external source and this WordML is rendered correctly in MSWord and OpenOffice so I am expecting that Aspose.Words also be able to handle it.
Let me know if there is a way in API to work around this?

Hi Gaurav,


Thanks for your inquiry. Could you please attach your input Word document and output PDF file showing the undesired behavior here for testing? We will investigate the issue on our end and provide you more information.

Best regards,