最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Convert pdf to a single page editable html - Stack Overflow

programmeradmin4浏览0评论

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

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

Share Improve this question edited May 23, 2017 at 12:17 CommunityBot 11 silver badge asked Jul 11, 2013 at 6:31 Nagama InamdarNagama Inamdar 2,85722 gold badges41 silver badges50 bronze badges 2
  • 1 jpdf2html by idr solutions has an option to inline images and the thumbnails is easily configurable to switch off. There is some documentation including idrsolutions./configuring-the-pdf-to-html5-converter – mark stephens Commented Jul 11, 2013 at 10:30
  • FlexPaper reflow converts your document to editable html and separates each pdf page in its separate file. Its in beta but the output is already far ahead of many of the other options flexpaper.devaldi./download – FlowPaper Team Commented Sep 19, 2015 at 19:36
Add a ment  | 

2 Answers 2

Reset to default 2

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

http://flexpaper.devaldi./download

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

发布评论

评论列表(0)

  1. 暂无评论