Tkinter PhotoImage

Ivan Van Laningham ivanlan at callware.com
Wed Nov 10 14:01:40 EST 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
----------------------------------------------
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