The get/set Pixel methods do not perform any range checks.
Especially the very Pythonesque -1 index, which would normally return the last pixel in the strip, returns totally bogus data from who knows where in the memory.
I suggest to add at least some boundary checks so that someone does not override his memory without knowing.
The get/set Pixel methods do not perform any range checks. Especially the very Pythonesque -1 index, which would normally return the last pixel in the strip, returns totally bogus data from who knows where in the memory. I suggest to add at least some boundary checks so that someone does not override his memory without knowing.