* - The first entry is the direction of the rows, given by the
* direction of the last pixel in the first row from the first
* pixel in that row.
* - The first entry is the direction of the rows, given by the
* direction of the last pixel in the first row from the first
* pixel in that row.