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

Free Support Forum - aspose.com

PDF(contains image with text) to HTML Conversion

I want to convert the pdf pages which made of images and text to html file format. I have use Aspose for pdf package but it can not support the file of this types. Please help me for this.

Hi Kiran,


Thanks for contacting support.

We are pleased to share that Aspose.Pdf for Java supports the feature to convert PDF files to HTML format. Please try using following code snippet.

In case you face any issue, please share the resource files so that we can test the conversion at our end.

[Java]

//load
source PDF document
<o:p></o:p>

com.aspose.pdf.Document pdfDocument = new com.aspose.pdf.Document("c:/pdftest/FullJustifyText.pdf");

//save the output in HTML format

pdfDocument.save("c:/pdftest/FullJustifyText.html", com.aspose.pdf.SaveFormat.Html);