06-13-2017, 03:17 AM | #1 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jun 2017
Device: none
|
Best way to convert PDF to HTML preserving its content
What is the process to convert a PDF to HTML while preserving images, text, charts, formula, vector drawings and the layout? I have tried multiple tools but with no luck.
My requirement is to convert a PDF to HTML and then to epub. I have tried a number of conversion tool to convert a PDF to HTML but most of them not preserving the format, font, css or images in renderd HTML as we expect. Is there any best possible way to convert PDF to html where we get expected result. |
06-13-2017, 01:49 PM | #2 |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
|
06-13-2017, 02:08 PM | #3 |
Resident Curmudgeon
Posts: 76,404
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The best way to convert PDF is to not bother.
|
06-16-2017, 07:57 PM | #4 | |
Addict
Posts: 393
Karma: 6700000
Join Date: Jan 2012
Location: Gimel
Device: tablets
|
Quote:
If you don't have the original text: * Screenshot the original images; * Clean up the images; * Type the text in HTML; * Use the appropriate links to the image; |
|
06-16-2017, 09:06 PM | #5 |
Fuzzball, the purple cat
Posts: 1,283
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
My take on PDF conversion: http://willus.com/k2pdfopt/pdf_conversion.shtml
|
06-16-2017, 09:54 PM | #6 | |
null operator (he/him)
Posts: 20,997
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
A given tool may do a better job on a given PDF than other tools. But unless its a very simple document, you'll always have to do some editing of the output. I convert quite a lot of PDF's to EPUB. But I'm I not willing to the expend the effort to convert complex PDF's. That is, those have lots of embedded images, diagrams, sidebars, fonts, infographics, equations, tables, etc. It can take days to get something that is only just OK. BR |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ebook-convert pdf or anything else to html | p3aul | Conversion | 3 | 05-26-2012 01:15 AM |
no content when convert pdf to epub | starbucks042 | Calibre | 2 | 08-09-2010 03:17 AM |
Using prince to convert html to pdf? | Antartica | iRex | 1 | 12-20-2006 09:49 AM |
How do I convert my A4 HTML books to A5 PDF? | CommanderROR | iRex | 18 | 07-21-2006 04:50 PM |