Skip to content

.png and others cause unpacking tuple error #3

@byron39

Description

@byron39

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)"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions