Guest User

Untitled

a guest
Aug 21st, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. Tkinter and TIFF
  2. import Image
  3. import ImageTk
  4. import numpy
  5.  
  6. im=Image.open("testtest.tif")
  7. root=Tkinter.Tk()
  8. imtk=ImageTk.PhotoImage(im,root)
  9. Tkinter.Label(root,image=imtk).pack()
Add Comment
Please, Sign In to add comment