Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python get pixel color from screen

import ImageGrab

px = ImageGrab.grab().load()
for y in range(0, 100, 10):
    for x in range(0, 100, 10):
        color = px[x, y]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #pixel #color #screen
ADD COMMENT
Topic
Name
3+7 =