ó
Ê½÷Xc           @` sœ   d  d l  m Z m Z m Z e Z y d  d l m Z Wn e	 k
 rO e
 Z n Xd g Z 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_import(   t   imreadR   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/   /tmp/pip-build-7oUkmx/scipy/scipy/ndimage/io.pyR      s    s
   name : strs   fname : strN(   t
   __future__R    R   R   t   TrueR   t   scipy.misc.pilutilR   R   R   t   Falset   __all__t   Nonet   __doc__t   replace(    (    (    s/   /tmp/pip-build-7oUkmx/scipy/scipy/ndimage/io.pyt   <module>   s   
	