-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
load_sample_images uses deprecated imread #10147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@amueller I'm interested in working on this issue. May I know if you could share more details? |
The imread function in scipy is deprecated, therefore we should not use it. I'm not sure if it's replaced by anything, or if we need to use PIL/pillow directly. |
As per the Scipy document, |
Hm... I guess we use pillow directly? @GaelVaroquaux @jnothman opinions? |
So currently users of our imread need to have PIL or Pillow installed. We
should keep that assumption, for now. Which basically means we need to copy
the implementation of scipy.misc.imread. We could extend this to
allowing imageio to be installed instead in the future.
|
Thank you for the suggestion @jnothman. As suggested, have implemented the changes and created the PR. |
I got something similar for basic image processing included in LFW fetcher:
Do we want to keep using PIL in this case (http://pillow.readthedocs.io/en/4.3.x/reference/Image.html#PIL.Image.Image.resize)? |
Is there anyone currently working on this? The pull request by @keyur9 seems to be incomplete and inactive. I would love to take a shot at this but I don't want to step on anyone's toes. |
Hello @jotasi , feel free to work on this as I'll not be able to work on this until the weekend. Thank you, |
we can use imread() like imageio.imread(). |
thanks Siohey |
The text was updated successfully, but these errors were encountered: