by dpapathanasiou · 16y ago · 0 comments
I would be willing to pay money for a reliable tool that didn't need much manual editing after processing.
Unfortunately, the pdftohtml project (http://pdftohtml.sourceforge.net/) has been inactive, and the current version has trouble with even moderately complex layouts.
The fundamental problem is that PDF stores the document presentation while html defines the document and the presentation is created by the browser. And obviously, to restore a document definition from its presentation is hard as lot of information is missing.
Yes, that's true.
I only bring it up b/c if your goal is to turn pdfcrowd into an app that people would pay money for (and I would be one of them), solving that problem would go a long way towards achieving it.
HTML -> png seems to have been figured out. Is .png -> pdf that hard to do?
I believe dpapathanasiou's suggestion is not to blindly convert a pdf into html file with one giant image file of the pdf.
Instead, he wants to create an html document that maintains the same content and layout from the pdf.