[SciPy-dev] RFR: Add io to ndimage

Stéfan van der Walt stefan at sun.ac.za
Mon May 25 04:56:34 EDT 2009


2009/5/25 Gael Varoquaux <gael.varoquaux at normalesup.org>:
> On Thu, May 21, 2009 at 01:34:37AM +0200, Stéfan van der Walt wrote:
> Docstring of imread seems wrong: the fname input argument is not a PIL
> image, it is the filename of the input image.
>
> Also, I think you should fail gracefully if PIL is not installed. RIght
> now this will give a traceback that might surprise the user
> ('ImportError: no module named PIL').

Thank you for the feedback, Gaël:

http://projects.scipy.org/scipy/changeset/5765

Regards
Stéfan



More information about the SciPy-Dev mailing list