View Single Post
Old 11-01-2011, 09:54 PM   #32
MrWarper
Zealot
MrWarper knows what time it isMrWarper knows what time it isMrWarper knows what time it isMrWarper knows what time it isMrWarper knows what time it isMrWarper knows what time it isMrWarper knows what time it isMrWarper knows what time it isMrWarper knows what time it isMrWarper knows what time it isMrWarper knows what time it is
 
Posts: 133
Karma: 2142
Join Date: Oct 2011
Location: Spain
Device: I'm an iRex man: 8x DR1000S, 4x DR800SG, 4x DR800S
Hello,

Quote:
Originally Posted by user_none View Post
One of the big issues with the demo for PDF.js is the text is not selectable or copyable. You are literally looking at a series of images. At least this is the case with Chrome 15.
Supposedly, the FireFox thingy will be different from the current Chrome PDF engine. Even so, a very common use for PDFs is as containers for a bunch of images. If that's the case, no conversion can be done, period. OTOH, rendering text as an image... shame on Google.

Quote:
Originally Posted by user_none View Post
There is a big difference between rendering a PDF on a canvas and turning a PDF into HTML. PDF.js is not converting the PDF to HTML. It is rendering it using HTML5 features.
HTML5 is HTML. If the application extracts the PDF contents and shows them on screen the right way (not as images), it is converting PDF to HTML in the best possible way: to be displayed on the browser, which is nothing but an HTML viewer on steroids.

Whether you can use directly that HTML or not, for example saving the file as HTML, is a wholly different kettle of fish. Since it is open source, you can always get the code and use it to make a straight converter.
MrWarper is offline   Reply With Quote