-->

Convert pdf to a single page editable html

2019-03-28 05:16发布

问题:

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..

回答1:

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



回答2:

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