I am using Java Aspose.PDF library (20.3) for converting the PDF to HTML. I found a case where some portion of the PDF is not appearing in HTML. Actually it is there in HTML but the visibility of HTML elements is coming as hidden. Please see the attached image and input PDF with the resultant HTML.
Issue: aspose-hidden-issue.png (1.1 MB)
PDF: aspose_issue_hidden.pdf (57.2 KB)
HTML: aspose_hidden_html.zip (45.6 KB)
We were unable to notice the mentioned issue while testing the scenario using Aspose.PDF for .NET 20.7 and following code snippet:
Aspose.Pdf.HtmlSaveOptions saveOptions = new Aspose.Pdf.HtmlSaveOptions();
Document doc = new Document(dataDir + "aspose_issue_hidden.pdf");
doc.Save(dataDir + "output207.html", saveOptions);
20.7.zip (99.0 KB)
Would you kindly try with latest version and in case you face any issue, please share complete sample code snippet with us. We will test the scenario in our environment and address it accordingly.
Thanks @asad.ali, as mentioned above I am using Java library. I just tested with the latest library bersion (i.e. 20.6) and it seems working.
Using Aspose.PDF for Java 20.7, we got similar results as we shared with our previous reply. Would you kindly try using latest version of Java API. In case issue still persists, please let us know.