How to read a pixel color in python (not from an Image)

I'm trying to get a value of RGB from a pixel in python using pygame

not getting the RGB from pixels in an image

Upvotes: -1

Views: 98

Answers (1)

the_redcar
the_redcar

Reputation: 127

Use pygame.Surface.get_at((coordinateX, coordinateY))

Upvotes: 0

Related Questions