In the scanImage function in the decoder there's this bit:
const result = processPixel.call(this, x, line); if (result === false) { return; }
...but processPixel is defined as returning void, hence the if statement will never evaluate to true. Any idea what was intended with that code? I can submit a pr and fix it, but just glancing at it I'm not sure what the intent was. Thanks!
In the scanImage function in the decoder there's this bit:
const result = processPixel.call(this, x, line); if (result === false) { return; }
...but processPixel is defined as returning void, hence the if statement will never evaluate to true. Any idea what was intended with that code? I can submit a pr and fix it, but just glancing at it I'm not sure what the intent was. Thanks!