diff --git a/scipy/misc/pilutil.py b/scipy/misc/pilutil.py
index d7e89bb..a54edf4 100644
--- a/scipy/misc/pilutil.py
+++ b/scipy/misc/pilutil.py
@@ -14,8 +14,11 @@ from numpy import amin, amax, ravel, asarray, cast, arange, \
      ones, newaxis, transpose, mgrid, iscomplexobj, sum, zeros, uint8, \
      issubdtype, array
 
-import Image
-import ImageFilter
+try:
+    from PIL import Image, ImageFilter
+except ImportError:
+    import Image
+    import ImageFilter
 
 __all__ = ['fromimage','toimage','imsave','imread','bytescale',
            'imrotate','imresize','imshow','imfilter','radon']
