On 1/29/06, Mike Blezien <[EMAIL PROTECTED]> wrote: > Hello, > > I need to create a thumbnail image of a webpage to be displayed in the > browser. > is there a perl module available that has this capability or can this be done > with ImageMagick or GD? Been looking for about a day on this subject but not > much luck. > > Basically we capture a remote webpage, then need to take that data and create > a > thumbnail(snapshot) of it. > > TIA, > -- > Mike(mickalo)Blezien snip
When you say "we capture a remote webpage" do you mean that you are capturing an image of it or just downloading the HTML? If the former then GD or ImageMagick will easily be able to resize it to a thumbnail; however, if you mean the later then you will first need to render the HTML. I don't know of any modules that do that (but you might search CPAN), but you should be able to feed the HTML into Firefox and do a screen capture. At that point you can just resize the image. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>