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

Free Support Forum - aspose.com

Conversion from Word to PDF doesn't include image

Hi Aspose team,

We have a bunch of Word documents that aren’t correctly converted to PDF; specific images seem to disappear.

Could you please investigate?

Thanks in advance,
Maurice

I’ve attached a sample document which has this problem:
Sample.docx (29.1 KB)

@Azure

We have tested the scenario and managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-22916. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Hi @tahir.manzoor,

While I understand a fix may take some time, would it be possible to pinpoint the exact reason for this behavior and if so, can we do some sort of check in our code to make sure we’re not continuing the conversion?
In our software it’s highly important the converted file (visually) contains the same information as the original document, so any indication something might be wrong would be very useful.

Thank you,
Maurice

@Azure

Aspose.Words imports the image into Shape node. The problem occurs because drawing element (image) is direct child of Body node. So, it is not imported correctly into Aspose.Words’ DOM. Once there is any further update available, we will let you know.

The issues you have found earlier (filed as WORDSNET-22916) have been fixed in this Aspose.Words for .NET 21.12 update also available on NuGet.