First result for "get pixel color" in group search is:
http://groups.google.com/group/pyglet-users/browse_thread/thread/eabcd4cee63969ff/8be22165d2a41bba?lnk=gst

Draw your image to the screen and follow those instructions. And next
time, please try searching the group first.

On Sep 2, 9:43 pm, mclovin <[EMAIL PROTECTED]> wrote:
> Is it possible to get the pixel color from an image at (x,y)?
> I need the pixel color in RGBA format.
>
> so like if i had an image is there a function that would do this:
>
> >print img.get_pixel(20,20)
>
> [200,23,100,256]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to