]> git.cworth.org Git - apitrace/blobdiff - scripts/snapdiff.py
Import PIL modules from PIL package.
[apitrace] / scripts / snapdiff.py
index 965044068a1d3a55cf401c4f76e791dd2a31d79d..60d9ae97ca740b26b5820f76567a4d414c6055d3 100755 (executable)
@@ -36,9 +36,9 @@ import optparse
 import math
 import operator
 
-import Image
-import ImageChops
-import ImageEnhance
+from PIL import Image
+from PIL import ImageChops
+from PIL import ImageEnhance
 
 
 thumb_size = 320, 320