1
I would like to know how I can, using python, get the color of a pixel from the web? I’m trying to make a bot and I need it to collect the color of the web page and not an image of the following coordinates:
Coordinates - (774,503)
I’ve tried the package imagegrab
but does not work because only exite to python2
I hope I have clarified my problem any information this about the problem please comment!
Are you sure you need to access coordinates 774,503 of a 81x22 image?
– Woss
@Andersoncarloswoss On the web these are the coordinates that was just the image to show where I wanted to take the color from in this yellow case!
– user140083
Take some of the code you’ve tried. Is the image on a website? Do you already have the image URL? Without this information you can’t answer.
– jsbueno
@jsbueno edited my post warps to try to exclaim all doubts!
– user140083
Which operating system?
– Rafael Barros
Hi, Deadsec, would it not be feasible, you perform a screen printscreen on time with python, and then simply pick up the pixel ? Sorry I didn’t post an answer, is that I’m at work. :)
– Davi Mello
@Davimello I ended up discovering that I could not do the bot as I wanted because the python can not get the color of the pixel because the layer suprior is white !
– user140083