title: Python import image gif
body: <p>Good morning, everyone,
  I tried to import image logo.gif but got an error message saying the image does not exit.
  Appreciate your help.
  Dennis</p>
  
  <pre><code>from PIL import Image, ImageChops
  from PIL.GifImagePlugin import getheader, getdata
  img = Image.open("logo.gif")
  img.show()
  
  from tkinter import *
  window = Tk()
  
  imgLbl = Label( window, image = img )
  
  
  TclError: image "&lt;PIL.GifImagePlugin.GifImageFile image mode=P size=92x95 at 0x8C92B38&gt;" doesn't exist
  </code></pre>