Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Convert pdf to a single page editable html

I have been trying to convert a pdf file to a single nice html page.After surfing about it. The solutions I have got are little bit lacking to my requirements.As I have to create individual html pages for say about 200 pdf files.As online converters might not be a leading solution. So I tried the following solutions along with the requirements not being fulfilled.

  • embed tag of html5

    +embeds a pdf into html page nicely.

    -HTML page is not editable since it simply embeds the pdf to html page.

  • pdftohtml

    +Converts the pdf to single html page.

    -the look is not very nice.

  • pdf.js

    +Converts the pdf to html page with a readable look.

    -HTML page is not editable.

  • jpdf2html

    +Converts the pdf to single html page with a nice look and html css.

    -It creats a big folder contaning images for thumbnails and html page for a single page in pdf that might not be feasible for large number of pdf files.

From where can I improve the output..

like image 733
Nagama Inamdar Avatar asked Jul 11 '13 06:07

Nagama Inamdar


2 Answers

FlexPaper has a desktop publisher mode called Elements that has the ability to convert pdf to editable elements- worth a look

http://flexpaper.devaldi.com/download

like image 68
user5587468 Avatar answered Oct 23 '22 21:10

user5587468


use Imagemagick to convert PDF to HTML however ghostscript can provide you with an improvements to your output PDF

like image 22
mmoghrabi Avatar answered Oct 23 '22 21:10

mmoghrabi