Preferred formatting:

```
scanline = inband.ReadAsArray(
    0, i, inband.XSize, 1, inband.XSize, 1)
```