Converting Binary Data(uploaded from PDF) to HTML

Hi Everyone,

i have a requirement that i would like to upload a PDF and display it as a HTML page. have tried using the binary convert API's but it doesnt seem to convert it to text.

can someone provide me with some suggestions?





PDF is a special format, so you cannot convert it to text by default.

You will have to get, for example, Aspose to extract data from PDF to text or soemthing similar.

Or you will have to OCR the pdf and then show it.

Or you simply try to display with the <embed> tag (if the targetbrowser can handle html5)