Draw gif image : Image « 2D « Python






Draw gif image

Draw gif image

from Tkinter import *

root = Tk()
#root.option_readfile('optionDB')
root.title('Canvas')
canvas = Canvas(root, width =400, height=400)

img = PhotoImage(file='./logo.gif')
canvas.create_image(145,280, image=img, anchor=CENTER)

canvas.pack()
root.mainloop()


           
       








Related examples in the same category