Docx with embedded tiff image rendered to pdf incorrectly

Hello!

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.

Lib:aspose-words-16.1.0

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”);
attachment.setFontSettings(fs);
PdfSaveOptions saveOptions = new PdfSaveOptions();
attachment.save(sink - this is OutputStream , saveOptions);

Any help will be very appreciated.



Hi,


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 ?

Hi,

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,