ó
î&]\c           @` sº   d  d l  m Z m Z m Z d  d l Z e Z y d  d l m	 Z
 Wn e k
 r[ e Z n Xd g Z e j d d ƒ e d d „ ƒ Z	 e r¶ e
 j d k	 r¶ e
 j j d d	 ƒ e	 _ n  d S(
   i    (   t   divisiont   print_functiont   absolute_importN(   t   imreadR   t   messagesP   `imread` is deprecated in SciPy 1.0.0.
Use ``matplotlib.pyplot.imread`` instead.c         C` s&   t  r t |  | | ƒ St d ƒ ‚ d  S(   Ns¹   Could not import the Python Imaging Library (PIL) required to load image files.  Please refer to http://pillow.readthedocs.org/en/latest/installation.html for installation instructions.(   t	   _have_pilt   _imreadt   ImportError(   t   fnamet   flattent   mode(    (    s/   lib/python2.7/site-packages/scipy/ndimage/io.pyR      s    s
   name : strs   fname : str(   t
   __future__R    R   R   t   numpyt   npt   TrueR   t   scipy.misc.pilutilR   R   R   t   Falset   __all__t	   deprecatet   Nonet   __doc__t   replace(    (    (    s/   lib/python2.7/site-packages/scipy/ndimage/io.pyt   <module>   s   
		