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

Free Support Forum - aspose.com

Problems convert picture in word document with Aspose.Word for Java

Hello Aspose Team,
i have problems to convert the attached word document with Aspose.Words 16.4.0 for Java to pdf.
Here is the code snippet:


com.aspose.words.PdfSaveOptions options = new com.aspose.words.PdfSaveOptions();
options.setCompliance(com.aspose.slides.PdfCompliance.PdfA1b);
com.aspose.words.Document doc = new com.aspose.words.Document(inputStream);
doc.save(baos, options);


In the resulting pdf/a the picture on page 3 looks not like that in the word document. It seems this is a problem that results from the picture and the text field on the bottom of the previous page 2.
I have attached the source word file and the resulting pdf file.

Hi Frederic,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the following issues at our side. For the sake of correction, we have logged these problems in our issue tracking system as follow:

WORDSNET-13687 : Image is cropped after conversion from Docx to Pdf
WORDSNET-13688 : Shape's text renders on next line in output Pdf

You will be notified via this forum thread once these issues are resolved. We apologize for your inconvenience.

Hi Frederic,

Regarding WORDSNET-13688, please note that Aspose.Words requires TrueType fonts when rendering documents to fixed-page formats (JPEG, PNG, PDF or XPS). We faced this issue due to missing of font "CorpoS" at our end. This issue does not exist in your shared Pdf. So, we are closing this issue as "Not a Bug".

Regarding WORDSNET-13687, this issue has been resolved and its fix will be available in June 2016 release (Aspose.Words v16.6.0). We will inform you via this forum thread once Aspose.Words v16.6.0 is published.

Thanks for your patience.

Hi Tahir,
thanks for your answer. The missing Font was a problem of generating a document from the original document to reproduce the error. So WORDSNET-13688 was a result of a missing font, that only occurs on your side, because the font CorpsS is not installed in your environment. I have attached the modified word file with the font Arial instead of CorpoS.

Hi Frederic,

Thanks for sharing the detail. The issue with image at page 3 has been fixed. We will inform you via this forum thread once Aspose.Words v16.6.0 is published.

Thanks for your patience.

The issues you have found earlier (filed as WORDSNET-13687) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.

A post was split to a new topic: Diagram issue when Word is converted to PDF