Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Convert PDF to HTML (or JPEG) (How?)

by LanX (Chancellor)
on Sep 12, 2009 at 10:25 UTC ( #794909=note: print w/replies, xml ) Need Help??

in reply to Convert PDF to HTML (or JPEG)

What kind of conversion do you expect?

PDF is a printformat with fixed geometry and linebreaks. Each character is positioned individually, the bigger context is (per default) lost.

(Normal) HTML defines texts (lines and paragraphs) which are flexibly drawn and broken dependent on the users display.

Cheers Rolf

UPDATE: you might want to look at solutions using xpdf-tools like pdf2html which produces HTML-files (+ massive CSS) with fixed positioned text... that's what you want?

  • Comment on Re: Convert PDF to HTML (or JPEG) (How?)

Replies are listed 'Best First'.
Re^2: Convert PDF to HTML (or JPEG) (How?)
by Sewi (Friar) on Sep 12, 2009 at 12:20 UTC
    Oh, sorry, I didn't see the -c - switch which does exactly what I need. Thanks!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://794909]
[james28909]: ok i have a new question ;)
[james28909]: i am not sure how to ask google this either
[james28909]: i am getting the current time on my machine with scalar localtime;

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2017-04-29 02:30 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (531 votes). Check out past polls.