Hello,
We are a licensed Aspose.Total customer using Aspose.PDF for Java (version 23.1), and we would like to request clarification and assistance regarding the following:
1. usePdfImageConversion — Feature Availability
We have encountered references to a setting called DocSaveOptions.UsePdfImageConversion, reportedly available in Aspose.PDF for .NET to ensure high-fidelity PDF to DOCX conversion by embedding each page as an image.
However:
- We cannot find this setting documented in either the .NET or Java API references.
- It does not appear to exist in the Java SDK at all.
Can you please confirm:
- Whether
usePdfImageConversionis officially supported in .NET? - Whether there is an equivalent (or planned) feature in Aspose.PDF for Java?
- Whether this setting is deprecated, undocumented, or internal-only?
2. PDF to DOCX Conversion Quality (Java)
Since we could not find a built-in option to ensure visual fidelity in Java, we implemented a fallback approach:
- Each PDF page is rendered to an image using
JpegDevice(200 DPI) - These images are inserted into a
.docxusing Aspose.Words, with all page margins set to zero
While this works in general, we are seeing issues on some documents:
- Font or formatting degradation (compared to the original PDF)
- Excessive white space or image scaling artifacts
- Inconsistent rendering across environments (e.g., different OS or Java runtime)
We can attach a few example PDFs & DOCXs where the output is not satisfactory.
3. Request for Guidance
Could you kindly:
- Review the attached samples and advise if we are missing any configuration that could improve output quality?
- Confirm if there are better rendering settings, layout modes, or recommended practices for converting PDF to DOCX with high fidelity in Java?
We would appreciate any guidance you can provide.
Thank you in advance for your support.
Best regards,
João Neves on behalf of Antonio DI MATTEO
European Council
antonio.di-matteo@consilium.europa.eu
[License/Support ID - We have a paid aspose.total license and we’ll provide the id later]