Load bitmap into a Canvas : Bitmap « 2D « Python






Load bitmap into a Canvas

Load bitmap into a Canvas

from Tkinter import *

root = Tk()
root.title('Canvas')
canvas = Canvas(root, width =400, height=400)
canvas.create_bitmap(355, 53, bitmap='questhead')

canvas.pack()
root.mainloop()


           
       








Related examples in the same category

1.Warning bmp on a LabelWarning bmp on a Label