We're sorry GroupDocs doesn't work properply without JavaScript enabled.

Free Support Forum - groupdocs.com

Java HTML to PDF converter cut images from right side

Dear Team,

We are using GroupDocs.Conversion for Java version 21.10 for converting different formats to pdf in java. We observed that while converting HTML to PDF we see the images are not completely rendered and around 40% cut from right side.

This issue can also be seen in the online conversion tool provided at GroupDocs site: https://products.groupdocs.app/conversion/total

We also observed that this works well when HTML is first rendered to WordProcessingOptions (converted to DOCX) and then rendered to PDFOptions (converted to PDF)
In this case, the PDF has image coverage 100%

The sample HTML file (sampleHtml.zip) used for testing is attached for reference.
sampleHtml.zip (99.5 KB)

Thank you

1 Like

@ChourasiyaRajesh

This issue is reproduced at our end. Hence, we’ve logged it in our internal issue tracking system with ID CONVERSIONJAVA-1556. It’ll be now further investigated. You’ll be notified in case of any update.