Word to PDF conversion - issue

Hi Team,

I’ve converted Docx to pdf, The pdf was converted, and the black patch overlapped the entire document.

I"m using Aspose.Words for Java 22.10 and Aspose.PDF for Java 22.9.

Source code:

Document pdfDocument = new Document("Fig0003.docx");
pdfDocument.save("Fig0003.pdf", SaveFormat.PDF);

Input: Fig0003.docx (44.7 KB)
Current output: Fig0003.pdf (14.6 KB)

Regards,
Mahesh

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

  Issue ID(s): WORDSJAVA-2816

You can obtain Paid Support services if you need support on a priority basis, along with the direct access to our Paid Support management team.

@Mahi39 Thank you for reporting the problem to us. For a sake of correction it has been logged as WORDSJAVA-2816. We will keep you informed and let you know once it is resolved.

@Mahi39

Aspose.Words for Java depends upon the Java Advanced Imaging (JAI) package from Oracle in order to process some image formats such as TIFF.

The documentation describes cases where additional dependencies are needed to work.
You can find more about these cases here: System Requirements|Aspose.Words for Java

Also you can add dependency to your pom:

<dependency>
    <groupId>javax.media.jai</groupId>
    <artifactId>com.springsource.javax.media.jai.core</artifactId>
    <version>1.1.3</version>
</dependency>

The issues you have found earlier (filed as WORDSJAVA-2816) have been fixed in this Aspose.Words for Java 23.3 update.