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

Re: Convert PDF to HTML (or JPEG)

by almut (Canon)
on Sep 12, 2009 at 12:31 UTC ( #794918=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ gs -q -dBATCH -dNOPAUSE -sDEVICE=jpeg -dJPEGQ88 -r150 -sOutputFile=i
    +mg%d.jpg input.pdf
    
  2. or download this
    $ gs -q -dBATCH -dNOPAUSE -sDEVICE=jpeg -dJPEGQ88 -r600 -sOutputFile=i
    +mg%d.jpg input.pdf
    $ for img in img*.jpg ; do convert $img -filter Lanczos -resize 25% -q
    +uality 90 out_$img ; done
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://794918]
help
Chatterbox?
[Discipulus]: Justin Case god can always get your pwd LA ;=) they all see, they all ear, they all know ;=)
[hippo]: It may be too far down the tree for some folks to bother with, but IMHO, Re^32: global var is probably node of the day already. (++)
[Lady_Aleena]: Discipulus, print working directory?
[Corion]: "P(ass)w(or)d" ;)

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2017-04-26 08:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (471 votes). Check out past polls.