diff --git a/src/animate.py b/src/animate.py index b6599d5..7776aae 100644 --- a/src/animate.py +++ b/src/animate.py @@ -50,7 +50,7 @@ import sys, os, commands, re, glob from Tkinter import * -from ImageTk import PhotoImage +from PIL import ImageTk # Class definition diff --git a/src/gl.py b/src/gl.py index df92cbf..4580fa9 100644 --- a/src/gl.py +++ b/src/gl.py @@ -127,7 +127,7 @@ from math import sin,cos,sqrt,pi,acos from OpenGL.Tk import * from OpenGL.GLUT import * -import Image +from PIL import Image from vizinfo import vizinfo # Class definition diff --git a/src/image.py b/src/image.py index 5fbb9bd..abf2633 100644 --- a/src/image.py +++ b/src/image.py @@ -53,7 +53,7 @@ from math import * from Tkinter import * import Pmw -import Image,ImageTk +from PIL import Image,ImageTk try: from DEFAULTS import PIZZA_CONVERT except: PIZZA_CONVERT = "convert"