Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Turning HTML into an Image

by stephen (Priest)
on May 10, 2002 at 23:46 UTC ( #165812=note: print w/ replies, xml ) Need Help??


in reply to Turning HTML into an Image

Since HTML is a formatting language, not a layout language, you won't get perfect results.

For basics, though, I'd recommend Image::Magick. It requires installation of ImageMagick (see www.imagemagick.org), ghostscript, and a whole bunch of other subsidiary programs, but you can transform HTML into pretty much any kind of image you want. Plus, you'll find it handy in resizing those images.

You might also want to check out HTML::FormatPS.

stephen


Comment on Re: Turning HTML into an Image
Re: Re: Turning HTML into an Image
by mdog (Pilgrim) on May 11, 2002 at 00:29 UTC
    Yeah...I have ImageMagick but can't find anything in the docs with what I want to do...If you have a quick sample, I'd really appreciate it!

    Thanks!

    PS. Did find an external program that will turn HTML to PDF (close but not what I want -- although maybe I can go HTML --> PDF --> JPG -- but I'd rather fly direct than have lay overs):
    http://www.easysw.com/htmldoc/

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://165812]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2014-12-25 05:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls