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

Free Support Forum - aspose.com

Docx with embedded tiff image rendered to pdf incorrectly


I’ve get red cross instead of image while converting docx to pdf (see convertion_result_from_docx.png ).

At the same time .doc converted to pdf correctly.


The code:
final Document attachment = new Document(source - this is InputStream, null);
FontSettings fs = new FontSettings();
fs.setFontsFolder(fontFolder, true);
fs.setDefaultFontName(“Franklin Gothic Book”);
PdfSaveOptions saveOptions = new PdfSaveOptions();
attachment.save(sink - this is OutputStream , saveOptions);

Any help will be very appreciated.


Thanks for your inquiry. We tested the scenario and have managed to reproduce the same problem on our end. For the sake of correction, we have logged this problem in our issue tracking system as WORDSJAVA-1424. Our product team will further look into the details of this problem and we will keep you updated on the status of correction. We apologize for your inconvenience.

Best regards,

Hello! Do you have any good news ?


Regarding WORDSJAVA-1424, our product team has completed the work on your issue and has come to a conclusion that this issue and the undesired behavior you're observing is actually not a bug in Aspose.Words for Java. So, we had closed this issue as 'Not a Bug'.

Please install JAI to correctly render TIFF images with Aspose.Words for Java:

Hope, this helps.

Best regards,