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

TypeError: an integer is required (got type tuple) data_image.append(pixel[y,x]) #32

Open
jacob-zhang-213 opened this issue May 26, 2020 · 3 comments

Comments

@jacob-zhang-213
Copy link

This is a tuple that is (67, 35, 20), and data_image.append() expert an integer, please tell me what do you want to do and how to solve the problem

@jacob-zhang-213
Copy link
Author

I get it, the image type is different, so the tuple is different

@nalrasheed
Copy link

I have the same issue. Could you please tell me how did you solve it?

@zhongweidee
Copy link

need to use black-white mode to save PNG.

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

3 participants