1app = Tk()
2app.title("Welcome")
3image2 =Image.open('C:\\Users\\adminp\\Desktop\\titlepage\\front.gif')
4image1 = ImageTk.PhotoImage(image2)
5w = image1.width()
6h = image1.height()
7app.geometry('%dx%d+0+0' % (w,h))
8#app.configure(background='C:\\Usfront.png')
9#app.configure(background = image1)
10
11labelText = StringVar()
12labelText.set("Welcome !!!!")
13#labelText.fontsize('10')
14
15label1 = Label(app, image=image1, textvariable=labelText,
16 font=("Times New Roman", 24),
17 justify=CENTER, height=4, fg="blue")
18label1.pack()
19
20app.mainloop()