Hi,
We are facing a issue in the PDF document with some of the images replaced by a red cross. The images are inserted from a DOC file to a DOCX file and then the PDF file is created using the DOCX document.
In the PDF, the images are replaced by red cross but appears correctly in the Word document (DOCX).
Please note that we have tested the issue with the latest versions of Aspose (Word 16.7.0 and PDF 11.8.0) and the issue remains the same with the latest versions also.
I have attached the generated documents with the latest versions of Aspose. Also, I have attached the Sample.doc with the images to test.
We are using the following code to generate the document:
Document outputDoc = new Document();
Document sampleDoc = new Document(“Sample.doc directory”);
DocumentBuilder tempDocBuilder = new DocumentBuilder(outputDoc);
tempDocBuilder.insertDocument(sampleDoc, ImportFormatMode.KEEP_SOURCE_FORMATTING);
outputDoc.save(“Directory to save Output.docx”);
outputDoc.save(“Directory to save Output.pdf”);
Also, we have used Java Advanced Imaging (JAI) package jars (JAI core 1.1.3) in the system in which we are generating the documents.
Regards,
Prabhaker Kr.