pixel colour on screen

chris cjstuttle at hotmail.com
Sat Jul 26 17:16:33 EDT 2008


On Jun 30, 4:37 am, Tim Roberts <t... at probo.com> wrote:
> cjstut... at hotmail.com wrote:
>
> >Could anyone help me, I'm a python noob and need some help. im trying
> >to find some code that will, given ascreenco-ordinate, will give me
> >thecolourof thatpixelin RGB. i have found a lot about getting the
> >pixelcolourfrom a picture file with a given co-ordinate, but is it
> >possible to do it from the wholescreenoutput regardless what
> >application the selectedpixelis in?
>
> Which operating system?  If you are on Windows, and you have pywin32
> loaded. you can use the Windows APIs GetDC and GetPixel.
> --
> Tim Roberts, t... at probo.com
> Providenza & Boekelheide, Inc.

i have ubuntu hardy. does that help?



More information about the Python-list mailing list