Free Support Forum - aspose.com

Image is lost after conversion from DOCX to PDF using C#

Hi,

When converting a DOCX with pictures to a PDF, I noticed the picture went missing.

Code:
var doc = new Document(@".\test.docx");
doc.Save(@".\test.pdf");

I’ve attached my test files and a screenshot for your reference. Please note I also tried to replace this picture with other pictures and saw the same issue.

test.zip (76.3 KB)
image.png (41.0 KB)

Could you please take a look?

Thanks,

@ServerSide527

We have tested the scenario and have 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-19840. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.