title: Make image full screen with PhotoImage
body: <p>I've tried this but it doesn't help: <a href="https://stackoverflow.com/questions/6582387/image-resize-under-photoimage">Image resize under PhotoImage</a></p>
  
  <p>I already have this:</p>
  
  <pre><code>import tkinter
  root = tkinter.Tk()
  root.attributes("-fullscreen", True)
  photo = tkinter.PhotoImage(file="image.gif")
  img1 = tkinter.Label(root, image = photo)
  img1.pack()
  root.mainloop()
  </code></pre>
  
  <p>This works but my image doesn't take up the full screen and I wanted to know how to resize it to full screen.</p>