How to make thumbnail image from web page?
am 05.12.2007 09:03:54 von TrenkHow 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.
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.
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
Use PHP :)
"Trenk"
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.
>
>
Intersting question?
Try with ImageMagics
"Trenk"
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.
>
>
On 2007-12-05 09:39, 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.
^^^^^^
That's the interesting part. How do you render a web-page into a
pixmap? Subsampling is trivial.
hp
On Thu, 6 Dec 2007 00:38:52 +0100, "Peter J. Holzer"
>> 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^