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

.png and others cause unpacking tuple error #3

Open
byron39 opened this issue Jul 31, 2015 · 0 comments
Open

.png and others cause unpacking tuple error #3

byron39 opened this issue Jul 31, 2015 · 0 comments

Comments

@byron39
Copy link

byron39 commented Jul 31, 2015

Line 69 will fail if different (or non) tuple is unpacked.

This may happen if RGBT (transparency) is used (for example .png).

Fixed by changing line 36
From " img = Image.open(imgname)"
To " img = Image.open(imgname).convert ('RGB)"

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