-
Notifications
You must be signed in to change notification settings - Fork 142
Description
I am running the spectra6 examples and expected to everything to just work out of the box.
I can run the stripes example with the default shipping image included with the examples, but it gives the below error.
Detected Spectra 6 7.3 800 x 480 (E673)
Traceback (most recent call last):
File "/home/web/inky/examples/spectra6/image.py", line 31, in
inky.set_image(resizedimage, saturation=saturation)
File "/home/web/.local/lib/python3.9/site-packages/inky/inky_e673.py", line 322, in set_image
self.buf = remap[numpy.array(image, dtype=numpy.uint8).reshape((self.rows, self.cols))]
IndexError: index 254 is out of bounds for axis 0 with size 6
The comic.py also gives this error.
I normally think it is something I have done, but would expect these to work out of the box. Maybe not the comic one if images are some permutation not known, but at least the example shipping one.
I saw some spectra branches on the repo but nothing indicating that I should switch to them.
Any ideas?