Convert pdf to a single page editable html

陌路散爱 提交于 2019-12-09 12:06:59

问题


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



来源:https://stackoverflow.com/questions/17586524/convert-pdf-to-a-single-page-editable-html

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!