KermitPNGFile.rows

KermitPNGFile.rows(not_masked=False, reset=False)

Iterate over rows of data.

Keyword Arguments
  • not_masked (bool) – If a row is masked and this is true, then don’t return this row.

  • reset (bool) – If true then reset the iterator (immediately stops the current iteration without returning any data)./

Yields

1D array – Returns the next row of data