Skip to content
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

[Need Help] What's that FILE OBJECT? #43

Open
daidaiworm opened this issue Jul 5, 2021 · 0 comments
Open

[Need Help] What's that FILE OBJECT? #43

daidaiworm opened this issue Jul 5, 2021 · 0 comments

Comments

@daidaiworm
Copy link

daidaiworm commented Jul 5, 2021

I'm a green hand.
Successfully installed your function.
It's working when I input "image's path and name" in
im1 = sp.misc.imread(ImagePathName, True)

But in my project, I need read an image and manipulate it, then convert it into PIL-object.
Currently I had to write that PIL-object to hdd.

Is there any way to read that PIL-object directly.
I read the function's doc, it's working in file object. But I tried this, but failed.
fo=open('image.png','r'); im1 = sp.misc.imread(fo, True)

Please give me some guide, thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant