from Tkinter import * root = Tk() imageLocation = "images/mapbg.gif" w = 54 h = 44 newImage = PhotoImage(file=imageLocation).zoom(w, h) root.mainloop()