+ 3

how can i get the color in a *.png using python?

I need to know the color in one point like(330,1150),how can i do? thanks.

29th Apr 2018, 7:40 AM
skyaway
skyaway - avatar
4 Réponses
+ 6
29th Apr 2018, 8:02 AM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 4
Thank you
29th Apr 2018, 8:08 AM
skyaway
skyaway - avatar
+ 3
Thank you all, I solved my problem by your help.
29th Apr 2018, 9:36 AM
skyaway
skyaway - avatar
+ 2
I think you could do it with just PIL. numpy might also be helpful since you can store every pixels rgb values into a list
29th Apr 2018, 9:24 AM
Markus Kaleton
Markus Kaleton - avatar