tkinter, canvas, get color of image?

skanemupp at yahoo.se skanemupp at yahoo.se
Sun Apr 13 13:03:40 EDT 2008


mapq = PhotoImage(file = 'C:\Users\saftarn\Desktop\elmapovic.gif')
w.create_image(10, 10, image = mapq, anchor = NW)

after doing this is there any possibility of getting the
characteristics of the GIF-picture(or bitmap if i use that)?

it would be very helpfull if i for example could do something like
canvas.getcolor(image, mouseclick.x,mouseclick.y) if u get the point.
get the color of the image where i clicked.



More information about the Python-list mailing list