Sample a pixel from tk canvas


#1

Is there any method to get a pixel from the canvas? I can draw a pixel
(painfully by using either
line or rectangle, same storage anyway) but can I sample a pixel ?

I recall vaguely that Java could probably do it, how about Qt4?
(haven’t done anything in Qt4
and haven’t coded Java for years.)

Thank you.

Tee Shift.


#2

sorry, did not do the homework. someone has asked it and the answer
could be found

http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/f0cd7b379e8b195f/e9fded6c453a28bb?lnk=gst&q=get+pixel+canvas&rnum=1#e9fded6c453a28bb