How to make thumbnail image from web page?

How to make thumbnail image from web page?

am 05.12.2007 09:03:54 von Trenk

How to make thumbnail image from web page?
Some thing like networksolutions.com do.
eg. http://www.networksolutions.com/whois/results.jsp?domain=per l.com

Tnx.

Re: How to make thumbnail image from web page?

am 05.12.2007 10:39:57 von bugbear

Trenk wrote:
> How to make thumbnail image from web page?
> Some thing like networksolutions.com do.
> eg. http://www.networksolutions.com/whois/results.jsp?domain=per l.com
>
> Tnx.
>
>

Render, then subsample.

BugBear

Re: How to make thumbnail image from web page?

am 05.12.2007 10:51:31 von Marthan

Use PHP :)


"Trenk" wrote in message
news:fj5m11$t5$1@ss408.t-com.hr...
> How to make thumbnail image from web page?
> Some thing like networksolutions.com do.
> eg. http://www.networksolutions.com/whois/results.jsp?domain=per l.com
>
> Tnx.
>
>

Re: How to make thumbnail image from web page?

am 05.12.2007 19:28:40 von Martina

Intersting question?
Try with ImageMagics


"Trenk" wrote in message
news:fj5m11$t5$1@ss408.t-com.hr...
> How to make thumbnail image from web page?
> Some thing like networksolutions.com do.
> eg. http://www.networksolutions.com/whois/results.jsp?domain=per l.com
>
> Tnx.
>
>

Re: How to make thumbnail image from web page?

am 06.12.2007 00:38:52 von hjp-usenet2

On 2007-12-05 09:39, bugbear wrote:
> Trenk wrote:
>> How to make thumbnail image from web page?
>> Some thing like networksolutions.com do.
>> eg. http://www.networksolutions.com/whois/results.jsp?domain=per l.com
>>
>> Tnx.
>>
>>
>
> Render, then subsample.
^^^^^^
That's the interesting part. How do you render a web-page into a
pixmap? Subsampling is trivial.

hp

Re: How to make thumbnail image from web page?

am 06.12.2007 11:15:50 von Michele Dondi

On Thu, 6 Dec 2007 00:38:52 +0100, "Peter J. Holzer"
wrote:

>> Render, then subsample.
> ^^^^^^
> That's the interesting part. How do you render a web-page into a
>pixmap? Subsampling is trivial.

I saw the question discussed recently. I can't remember whether here
or at PerlMonks. (Most probably, tertium non datur.) Off the top of my
memory, and probably in a sloppy way, options include (i) use a
rendering engine like gecko, or (ii) launch a browser and take a
screenshot. IIRC both actions can be automated in perl.


Michele
--
{$_=pack'B8'x25,unpack'A8'x32,$a^=sub{pop^pop}->(map substr
(($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^ ..'KYU;*EVH[.FHF2W+#"\Z*5TI/ER 256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,