You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>>> image2ascii.convert('X:/forever alone.gif')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "image2ascii\image2ascii.py", line 79, in convert
converter.print_as_ascii(invert_colours, x_step, y_step)
File "image2ascii\image2ascii.py", line 38, in print_as_ascii
sum_red += rgb[0]
TypeError: 'int' object has no attribute '__getitem__'
...looks like the pixels returned are probably scalars instead of RGB arrays/lists?
The text was updated successfully, but these errors were encountered:
...looks like the pixels returned are probably scalars instead of RGB arrays/lists?
The text was updated successfully, but these errors were encountered: