Hello!
I convert MHTML to PDF this way:
LoadOptions loadOptions = new LoadOptions();
loadOptions.setLoadFormat(LoadFormat.MHTML);
Document document = new Document(new ByteArrayInputStream(this.sourceContent), loadOptions);
document.save("output.pdf", SaveFormat.PDF);
As you can see in the output.pdf, there is a lot of content missing. What is going wrong here?
Attached are input.mhtml and output.pdf: mhtmlToPdf.zip (65.3 KB)
Kind regards!