How can I make a screenshot using BitBlt or something else???

Patricia J. Hawkins phawkins at connact.com
Wed Jun 19 23:26:19 EDT 2002


>>>>> "IC" == I C <theivo at abv.bg> writes:

IC> Joonas Paalasmaa <joonas at olen.to> wrote in message news:<3C6D93F0.8F83FA9E at olen.to>...
>> "I.C." wrote:
>> > 
>> > I am new in PythonWin programming so I have a simple question -
>> > How can I make a screenshot of the whole screen and then get the colors
>> > of some pixels?
>> 
>> Use Fredrik Lundh's grabscreen utility for PIL.
>> http://effbot.org/pil/index.htm

IC> Thank you very much, this seems to work, but do you know how can I
IC> make the
IC> screenshot using win32ui - on the system, where I want to run the
IC> script I won't be able to install the PIL-Module(SysAdmin-Rules).

Can't you just put the PIL directory in the same location as you put
your script?  I don't think it needs any more setup than just being
somewhere on your PYTHONPATH -- and the local directory always is.

-- 
Patricia J. Hawkins
Hawkins Internet Applications, LLC






More information about the Python-list mailing list