Tkinter PhotoImage

Ivan Van Laningham ivanlan at
Wed Nov 10 20:01:40 CET 1999

Hi All--
Ok, I've managed to create an image, using xx=PhotoImage(file), and I
can retrieve pixel values from that image using xx.get(x,y).

Now I want to use the put() method to write a pixel.

How do I do that?  I would have expected that put() would take a string
of pixel values for the data argument, but that doesn't seem to be the
case. ...

And what's the bbox argument?

<there's-a-cat-on-my-screen>-ly y'rs,
Ivan Van Laningham
Callware Technologies, Inc.
ivanlan at
ivanlan at
See also:
Army Signal Corps:  Cu Chi, Class of '70
Author:  Teach Yourself Python in 24 Hours

More information about the Python-list mailing list