Website Capture

2006-12-24 Thread yoring
Hi,

I want to capture a web site into gif image using Python.
I installed the PIL if it can help.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Website Capture

2006-12-24 Thread Jonathan Curran
On Monday 25 December 2006 00:57, [EMAIL PROTECTED] wrote:
> Hi,
>
> I want to capture a web site into gif image using Python.
> I installed the PIL if it can help.

It can't be done with just Python & PIL, that much is for sure. First of all 
you need some sort of module/program/(whatever you want to call it) that can 
render a given webpage. Then you would proceed to capturing the graphical 
output of that module/program/...

Maybe what you should look into are graphical toolkits that possibly provide a 
HTML widget from which you can get a graphical display. WxWidgets/WxPython is 
one option, and the only other I can think of is GTK/pyGTK.

I hope this helps a little, and Merry Christmas!

- Jonathan Curran
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Website Capture

2006-12-25 Thread derekl00
Not sure what OS you are on, but a2ps is one way you could probably do
this:

http://www.infres.enst.fr/~demaille/a2ps/delegations.html

That will get you as far as PostScript and I imagine it is pretty
straightforward from there to get things into a gif.
Jonathan Curran wrote:
> On Monday 25 December 2006 00:57, [EMAIL PROTECTED] wrote:
> > Hi,
> >
> > I want to capture a web site into gif image using Python.
> > I installed the PIL if it can help.
>
> It can't be done with just Python & PIL, that much is for sure. First of all
> you need some sort of module/program/(whatever you want to call it) that can
> render a given webpage. Then you would proceed to capturing the graphical
> output of that module/program/...
>
> Maybe what you should look into are graphical toolkits that possibly provide a
> HTML widget from which you can get a graphical display. WxWidgets/WxPython is
> one option, and the only other I can think of is GTK/pyGTK.
>
> I hope this helps a little, and Merry Christmas!
> 
> - Jonathan Curran

-- 
http://mail.python.org/mailman/listinfo/python-list