Tkinter PhotoImage Question

Ivan Van Laningham ivanlan at callware.com
Fri Nov 12 09:53:11 EST 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
----------------------------------------------
Ivan Van Laningham
Callware Technologies, Inc.
ivanlan at callware.com
ivanlan at home.com
http://www.pauahtun.org
See also: 
http://www.foretec.com/python/workshops/1998-11/proceedings.html
Army Signal Corps:  Cu Chi, Class of '70
Author:  Teach Yourself Python in 24 Hours
----------------------------------------------




More information about the Python-list mailing list