Hi, how can I open an image and get the R,G,B values of just the first line?
from PIL import Image
im=Image.open("image.bmp")
img=im.getcolors()
print img
I've tried im.getdata() , im.histogram, etc.... but again, what I'm looking for is more of R,G,B pixel counts for just the 1st line in the image.