Better error checking and value ranges etc
lijon opened this issue · comments
Currently any value above 255 will wrap around to 0 (since it's 8-bit values) without notice or error.
There might also be other input-related errors that should be catched, if someone reads a malformed input file etc.