I’m using GroupDocs.Conversion Java version 17.7.1 and I’m running into an issue with the rendered PDF document when converting from certain HTML/HTM files. I haven’t been able to figure out a pattern, so I was wondering what type of support HTML/HTM to PDF conversion has? What are the known limitations for this type of conversion?
I have attached a zip which contains two files. The one named Working.html converts successfully. The one named NotWorking.html does not convert. Any insight into this would be greatly appreciated.
Here is the code block responsible for the conversion:
ConversionHandler conversionHandler = new ConversionHandler(new ConversionConfig());
PdfSaveOptions saveOptions = new PdfSaveOptions();
response.getOutputStream().write(conversionHandler.convert(parts.get(0).getInputStream(), filename, saveOptions).toBytes());GroupDocs.zip (3.0 KB)