Skip to content

TypeError: 'int' object is not iterable #1

@tombenj

Description

@tombenj

Getting this error on some images:

Traceback (most recent call last):
  File "C:\Users\hello\Desktop\Pyxeled\pyxeled.py", line 384, in <module>
    in_rgb = [[list(image_data[r, c]) for c in range(h_in)] for r in range(w_in)]
  File "C:\Users\hello\Desktop\Pyxeled\pyxeled.py", line 384, in <listcomp>
    in_rgb = [[list(image_data[r, c]) for c in range(h_in)] for r in range(w_in)]
  File "C:\Users\hello\Desktop\Pyxeled\pyxeled.py", line 384, in <listcomp>
    in_rgb = [[list(image_data[r, c]) for c in range(h_in)] for r in range(w_in)]
TypeError: 'int' object is not iterable

Any thought as to the cause?

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