B
biner
Hello,
Is there any way to save a canvas created with tkinter to a gif (or
any other graphic) without using PIL (I cannot build it on our unix
machine)? For example with this simple code :from Tkinter import *
root=Tk()
base=Canvas(root,width=50,height=50)
base.create_rectangle(0,0,50,25,fill='red')
base.create_rectangle(0,25,50,50,fill='blue')
base.pack()
root.mainloop()
<<<
How can I save the image with the two colored rectangle onto a graphic
file?
I looked on google and in the documentation but I didn't find how to
do it. Thanks for any help.
Sebastien.
(e-mail address removed)
Is there any way to save a canvas created with tkinter to a gif (or
any other graphic) without using PIL (I cannot build it on our unix
machine)? For example with this simple code :from Tkinter import *
root=Tk()
base=Canvas(root,width=50,height=50)
base.create_rectangle(0,0,50,25,fill='red')
base.create_rectangle(0,25,50,50,fill='blue')
base.pack()
root.mainloop()
<<<
How can I save the image with the two colored rectangle onto a graphic
file?
I looked on google and in the documentation but I didn't find how to
do it. Thanks for any help.
Sebastien.
(e-mail address removed)