Docx-Pdf: Long running conversion issue: JAVA

Hi @alexey.maslov , are we expecting 25.5 release this week?

@jaipm We are working on Java release right now. If everything goes smoothly it will be published this week. We will keep you updated.

1 Like

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

1 Like

@alexey.noskov Thanks for releasing 25.5. Do I need to make any code changes to handle TIFF issue or simply updating the aspose.words to 25.5 is sufficient ?

@jaipm

The issue was that rendering images using JAI took a significant amount of time. This is an internal limitation of JAI, so we added an option to disable JAI during rendering. You will need to update the library and add the following lines:

PdfSaveOptions saveOptions = new PdfSaveOptions();
saveOptions.setUseJAIImageRendering(false);

Please note that disabling JAI may affect rendering quality in certain scenarios. If needed, you can re-enable it using:
saveOptions.setUseJAIImageRendering(true);

Hi @alexey.maslov , i just finished testing failed doc. with the version 25.5 but its still failing.
I also tried at Convert Word, PDF And Many Other File Formats Using Java but it gets stuck at 95% and never converts.
i am also attaching the same doc.
Please advise.
丙烯海松酸键合硅胶固定相的制备及其在混合模式色谱分离中的应用.docx (9.1 MB)

@jaipm Thank you for additional information. We will recheck and provide you more information shortly.

thanks @alexey.noskov .
This issue has been ongoing for some time, and our clients are increasingly dissatisfied with the conversion failures.
Please let me know if you would like to have a call with us?

@jaipm,

This issue is related to WORDSNET-28136, which is currently being resolved. We apologize for any inconvenience caused.

Thanks @alexey.maslov , could you please provide more details on WORDSNET-28136 ? What is issue at aspose side causing this failure?

@jaipm The issue occurs because of an infinite loop introduced after implanting character spacing control feature.

Thanks again!
When can we expect this fix? Can we plz expedite this request?

@jaipm The fix is planned to 25.7 version of Aspose.Words.

hi @alexey.noskov we just subscribed to the paid-support service.Do you want me to open a new ticket and give reference to WORDSNET-28136 ? Please advise.

@jaipm If you would like the issues to be treated on the priority basis, you should escalate the issue in the Paid Support Helpdesk . Then my colleagues from Paid Support team will raise the issues priority.

@alexey.noskov , As suggested i am setting PdfSaveOptions saveOptions = new PdfSaveOptions();
saveOptions.setUseJAIImageRendering(false); but with this , images are not getting converted at all. i see a cross(X) in place of an image.See the attached file.
Supplemental_file.pdf (291.0 KB)

@jaipm,

Unfortunately, I cannot reproduce this issue locally using the file you provided earlier. With JAI disabled, images render correctly. Please specify your Java version and OS.

@alexey.maslov we have JDK8 and Amazon Linux 2.

try with this file plz.
Manuscript_sample.docx (9.4 MB)

.

@jaipm,
Thank you for additional information. We will recheck and provide you more information shortly.