Tkinter PhotoImage Question

Ivan Van Laningham ivanlan at
Fri Nov 12 15:53:11 CET 1999

Hi All--

[I sent this Wednesday but haven't seen it appear on the list, so I
assume the orginal is lost in the solar flares somewhere.  If it turns
up twice, I apologize.]

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